diff --git a/python-pbr.spec b/python-pbr.spec index cbb834f..faf986a 100644 --- a/python-pbr.spec +++ b/python-pbr.spec @@ -1,6 +1,6 @@ Name: python-pbr Version: 5.11.1 -Release: 1mamba +Release: 2mamba Summary: A library that injects some useful and sensible default behaviors into your setuptools run Group: System/Libraries Vendor: openmamba @@ -18,6 +18,8 @@ BuildRequires: python3.7dist(setuptools) %{summary}. %if 0%{?with_pyver} +%define py_requires_append \ +Obsoletes: python-pbr < 5.11.1-2mamba %pyver_package %endif @@ -38,13 +40,16 @@ 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}/pbr-%{version}-py*.egg-info %{python_sitearch}/pbr-%{version}-py*.egg-info/* %doc AUTHORS LICENSE %changelog +* Sun Sep 10 2023 Silvan Calarco 5.11.1-2mamba +- fix missing -pyX suffix to built packages + * Wed Jan 11 2023 Automatic Build System 5.11.1-1mamba - automatic version update by autodist