diff --git a/yawn.spec b/yawn.spec index 0d047f3..07d4c34 100644 --- a/yawn.spec +++ b/yawn.spec @@ -2,15 +2,16 @@ %global apacheconfdir /etc/httpd %global svnrev 632 %global revdate 20140318 +%global ver 0.1.7 Name: yawn Version: 0 -Release: 0.40.%{revdate}svn%{svnrev}%{?dist} +Release: 0.58.%{revdate}svn%{svnrev}%{?dist} Summary: Yet Another WBEM Navigator -License: GPLv2 -URL: https://sourceforge.net/apps/mediawiki/pywbem/index.php?title=YAWN +License: LGPL-2.1-or-later +URL: http://pywbem.github.io/yawn/index.html # The source for this package was pulled from upstream svn repository. # Use the following commands to get the archive: # svn export -r 632 https://svn.code.sf.net/p/pywbem/code/yawn/trunk/mod_wsgi yawn-20140318 @@ -21,7 +22,7 @@ Patch0: fix-shebang-lines.patch Patch1: python-3-support.patch Patch2: fix-requires.patch -BuildRequires: httpd, python3-devel, python3-setuptools +BuildRequires: httpd, python3-devel Requires: python3-mod_wsgi, python3-pywbem, httpd, python3-werkzeug, python3-mako BuildArch: noarch @@ -37,15 +38,16 @@ Script to run yawn without Apache web server. %prep %setup -q -n %{name}-%{revdate} -%patch0 -p1 -b .fix-shebang-lines -%patch1 -p1 -b .python-3-support -%patch2 -p1 -b .fix-requires +%autopatch -p1 + +%generate_buildrequires +%pyproject_buildrequires %build -%{__python3} setup.py build +%pyproject_wheel %install -%{__python3} setup.py install --skip-build --root ${RPM_BUILD_ROOT} +%pyproject_install mkdir -p $RPM_BUILD_ROOT%{htmldir} install ./scripts/yawn.wsgi $RPM_BUILD_ROOT%{htmldir}/index.wsgi install -d $RPM_BUILD_ROOT%{apacheconfdir}/conf.d/ @@ -56,7 +58,8 @@ install -m 0644 ./apache/yawn.conf ${RPM_BUILD_ROOT}/%{apacheconfdir}/conf.d/yaw %files %{htmldir} -%{python3_sitelib}/* +%{python3_sitelib}/pywbem_yawn/ +%{python3_sitelib}/yawn-%{ver}.dist-info/ %config(noreplace) %{apacheconfdir}/conf.d/yawn.conf %doc README Changelog @@ -64,6 +67,61 @@ install -m 0644 ./apache/yawn.conf ${RPM_BUILD_ROOT}/%{apacheconfdir}/conf.d/yaw %{_bindir}/yawn.py %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 0-0.58.20140318svn632 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Thu Jun 04 2026 Python Maint - 0-0.57.20140318svn632 +- Rebuilt for Python 3.15 + +* Sat Jan 17 2026 Fedora Release Engineering - 0-0.56.20140318svn632 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Sep 19 2025 Python Maint - 0-0.55.20140318svn632 +- Rebuilt for Python 3.14.0rc3 bytecode + +* Wed Aug 27 2025 Vitezslav Crhonek - 0-0.54.20140318svn632 +- Stop using deprecated python setup.py build/install command in the spec + Resolves: #2378639 + +* Fri Aug 15 2025 Python Maint - 0-0.53.20140318svn632 +- Rebuilt for Python 3.14.0rc2 bytecode + +* Fri Jul 25 2025 Fedora Release Engineering - 0-0.52.20140318svn632 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Mon Jun 02 2025 Python Maint - 0-0.51.20140318svn632 +- Rebuilt for Python 3.14 + +* Sun Jan 19 2025 Fedora Release Engineering - 0-0.50.20140318svn632 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Sat Jul 20 2024 Fedora Release Engineering - 0-0.49.20140318svn632 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 0-0.48.20140318svn632 +- Rebuilt for Python 3.13 + +* Sat Jan 27 2024 Fedora Release Engineering - 0-0.47.20140318svn632 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 0-0.46.20140318svn632 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0-0.45.20140318svn632 +- Rebuilt for Python 3.12 + +* Mon Jun 05 2023 Vitezslav Crhonek - 0-0.44.20140318svn632 +- SPDX migration, update project URL + +* Sat Jan 21 2023 Fedora Release Engineering - 0-0.43.20140318svn632 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0-0.42.20140318svn632 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0-0.41.20140318svn632 +- Rebuilt for Python 3.11 + * Sat Jan 22 2022 Fedora Release Engineering - 0-0.40.20140318svn632 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild