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 Name: python-pbr
Version: 5.11.1 Version: 5.11.1
Release: 1mamba Release: 2mamba
Summary: A library that injects some useful and sensible default behaviors into your setuptools run Summary: A library that injects some useful and sensible default behaviors into your setuptools run
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -18,6 +18,8 @@ BuildRequires: python3.7dist(setuptools)
%{summary}. %{summary}.
%if 0%{?with_pyver} %if 0%{?with_pyver}
%define py_requires_append \
Obsoletes: python-pbr < 5.11.1-2mamba
%pyver_package %pyver_package
%endif %endif
@ -38,13 +40,16 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/pbr-%{version}-py*.egg-info %dir %{python_sitearch}/pbr-%{version}-py*.egg-info
%{python_sitearch}/pbr-%{version}-py*.egg-info/* %{python_sitearch}/pbr-%{version}-py*.egg-info/*
%doc AUTHORS LICENSE %doc AUTHORS LICENSE
%changelog %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 * Wed Jan 11 2023 Automatic Build System <autodist@mambasoft.it> 5.11.1-1mamba
- automatic version update by autodist - automatic version update by autodist