Compare commits

..

No commits in common. "rawhide" and "f41" have entirely different histories.

View file

@ -2,11 +2,10 @@
%global apacheconfdir /etc/httpd
%global svnrev 632
%global revdate 20140318
%global ver 0.1.7
Name: yawn
Version: 0
Release: 0.58.%{revdate}svn%{svnrev}%{?dist}
Release: 0.49.%{revdate}svn%{svnrev}%{?dist}
Summary: Yet Another WBEM Navigator
@ -22,7 +21,7 @@ Patch0: fix-shebang-lines.patch
Patch1: python-3-support.patch
Patch2: fix-requires.patch
BuildRequires: httpd, python3-devel
BuildRequires: httpd, python3-devel, python3-setuptools
Requires: python3-mod_wsgi, python3-pywbem, httpd, python3-werkzeug, python3-mako
BuildArch: noarch
@ -40,14 +39,11 @@ Script to run yawn without Apache web server.
%setup -q -n %{name}-%{revdate}
%autopatch -p1
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%{__python3} setup.py build
%install
%pyproject_install
%{__python3} setup.py install --skip-build --root ${RPM_BUILD_ROOT}
mkdir -p $RPM_BUILD_ROOT%{htmldir}
install ./scripts/yawn.wsgi $RPM_BUILD_ROOT%{htmldir}/index.wsgi
install -d $RPM_BUILD_ROOT%{apacheconfdir}/conf.d/
@ -58,8 +54,7 @@ install -m 0644 ./apache/yawn.conf ${RPM_BUILD_ROOT}/%{apacheconfdir}/conf.d/yaw
%files
%{htmldir}
%{python3_sitelib}/pywbem_yawn/
%{python3_sitelib}/yawn-%{ver}.dist-info/
%{python3_sitelib}/*
%config(noreplace) %{apacheconfdir}/conf.d/yawn.conf
%doc README Changelog
@ -67,34 +62,6 @@ install -m 0644 ./apache/yawn.conf ${RPM_BUILD_ROOT}/%{apacheconfdir}/conf.d/yaw
%{_bindir}/yawn.py
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.58.20140318svn632
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 0-0.57.20140318svn632
- Rebuilt for Python 3.15
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.56.20140318svn632
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0-0.55.20140318svn632
- Rebuilt for Python 3.14.0rc3 bytecode
* Wed Aug 27 2025 Vitezslav Crhonek <vcrhonek@redhat.com> - 0-0.54.20140318svn632
- Stop using deprecated python setup.py build/install command in the spec
Resolves: #2378639
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0-0.53.20140318svn632
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.52.20140318svn632
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 0-0.51.20140318svn632
- Rebuilt for Python 3.14
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.50.20140318svn632
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.49.20140318svn632
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild