fix missing pyappend in build packages name [release 0.12.19-3mamba;Tue Aug 31 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 10:55:18 +01:00
parent a66daa8c08
commit f4e2c9237a

View File

@ -1,6 +1,6 @@
Name: python-bottle Name: python-bottle
Version: 0.12.19 Version: 0.12.19
Release: 2mamba Release: 3mamba
Summary: Fast and simple WSGI-framework for small web-applications Summary: Fast and simple WSGI-framework for small web-applications
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -17,6 +17,8 @@ BuildRequires: libpython3-devel
%{summary}. %{summary}.
%if 0%{?with_pyver} %if 0%{?with_pyver}
%define py_requires_append \
Obsoletes: python-bottle <= 0.12.19-2mamba
%pyver_package %pyver_package
%endif %endif
@ -37,12 +39,15 @@ 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}/bottle-%{version}-py*.egg-info %dir %{python_sitearch}/bottle-%{version}-py*.egg-info
%{python_sitearch}/bottle-%{version}-py*.egg-info/* %{python_sitearch}/bottle-%{version}-py*.egg-info/*
%changelog %changelog
* Tue Aug 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.19-3mamba
- fix missing pyappend in build packages name
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.19-2mamba * Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.19-2mamba
- rebuilt with distdeps and for python3 - rebuilt with distdeps and for python3