fix posttrans package in previous release [release 5.4.0-3mamba;Sun Oct 25 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 16:40:08 +01:00
parent ac6e93e50c
commit 54060c8651

View File

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