diff --git a/yawn.spec b/yawn.spec index cc45541..07d4c34 100644 --- a/yawn.spec +++ b/yawn.spec @@ -2,10 +2,11 @@ %global apacheconfdir /etc/httpd %global svnrev 632 %global revdate 20140318 +%global ver 0.1.7 Name: yawn Version: 0 -Release: 0.49.%{revdate}svn%{svnrev}%{?dist} +Release: 0.58.%{revdate}svn%{svnrev}%{?dist} Summary: Yet Another WBEM Navigator @@ -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 @@ -39,11 +40,14 @@ Script to run yawn without Apache web server. %setup -q -n %{name}-%{revdate} %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/ @@ -54,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 @@ -62,6 +67,34 @@ 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