diff --git a/yawn.spec b/yawn.spec index 07d4c34..fc55dfb 100644 --- a/yawn.spec +++ b/yawn.spec @@ -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.47.%{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,40 +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 - 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