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