fix missing -pyX suffix to built packages [release 5.11.1-2mamba;Sun Sep 10 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 16:15:39 +01:00
parent 61ddd62374
commit 56e50f9ad0

View File

@ -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 <silvan.calarco@mambasoft.it> 5.11.1-2mamba
- fix missing -pyX suffix to built packages
* Wed Jan 11 2023 Automatic Build System <autodist@mambasoft.it> 5.11.1-1mamba
- automatic version update by autodist