From f4e2c9237a8a4e26b45100bf6e57152119728620 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:55:18 +0100 Subject: [PATCH] fix missing pyappend in build packages name [release 0.12.19-3mamba;Tue Aug 31 2021] --- python-bottle.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-bottle.spec b/python-bottle.spec index 7079787..c007a04 100644 --- a/python-bottle.spec +++ b/python-bottle.spec @@ -1,6 +1,6 @@ Name: python-bottle Version: 0.12.19 -Release: 2mamba +Release: 3mamba Summary: Fast and simple WSGI-framework for small web-applications Group: System/Libraries Vendor: openmamba @@ -17,6 +17,8 @@ BuildRequires: libpython3-devel %{summary}. %if 0%{?with_pyver} +%define py_requires_append \ +Obsoletes: python-bottle <= 0.12.19-2mamba %pyver_package %endif @@ -37,12 +39,15 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/bottle-%{version}-py*.egg-info %{python_sitearch}/bottle-%{version}-py*.egg-info/* %changelog +* Tue Aug 31 2021 Silvan Calarco 0.12.19-3mamba +- fix missing pyappend in build packages name + * Mon Aug 30 2021 Silvan Calarco 0.12.19-2mamba - rebuilt with distdeps and for python3