diff --git a/python-sip.spec b/python-sip.spec index e042f1a..0486221 100644 --- a/python-sip.spec +++ b/python-sip.spec @@ -1,6 +1,6 @@ Name: python-sip -Version: 5.1.2 -Release: 1mamba +Version: 5.4.0 +Release: 3mamba Summary: Python extension module generator for C and C++ libraries Group: System/Libraries/Python Vendor: openmamba @@ -18,7 +18,6 @@ BuildRequires: libpython-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: libpython3-devel >= 3.7.4 -Requires: python27 >= %python27_version BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -76,6 +75,11 @@ sed -i "s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%posttrans %{?with_pyver:py%{pyver}} +# cleanup of empty egg-info dirs +find %{python_sitearch}/*.egg-info -type d -empty -delete > /dev/null || true +: + %files %{?with_pyver:py%{pyver}} -f %{name}.filelist %defattr(-,root,root) %exclude %{_bindir}/* @@ -89,6 +93,15 @@ sed -i "s,.*/man/.*,&.gz," %{name}.filelist #%doc doc/* %changelog +* Sun Oct 25 2020 Silvan Calarco 5.4.0-3mamba +- fix posttrans package in previous release + +* Sun Oct 25 2020 Silvan Calarco 5.4.0-2mamba +- fix startup by applying cleanup of all empty egg-info directories in posttrans + +* Sat Oct 24 2020 Silvan Calarco 5.4.0-1mamba +- update to 5.4.0 + * Fri Apr 10 2020 Silvan Calarco 5.1.2-1mamba - update to 5.1.2