rebuild with python 3.6 support [release 18.9.0-2mamba;Thu Jan 10 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 16:48:05 +01:00
parent 8be79ecf61
commit cfe4741b4c

View File

@ -2,7 +2,7 @@
Name: python-twisted
Version: 18.9.0
Release: 1mamba
Release: 2mamba
Summary: Event-driven networking framework written in Python
Group: System/Libraries/Python
Vendor: openmamba
@ -55,17 +55,31 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "/iocpsupport.so/d" %{name}.filelist
sed -i "/iocpsupport.*\.so$/d" %{name}.filelist
%if 0%{?with_pyver}
sed -i "/_sendmsg.cpython-36m.*\.so$/d" %{name}.filelist
for f in %{buildroot}%{_bindir}/*; do
mv $f ${f}%{with_pyver}
n=`basename $f`
sed -i "s|%{_bindir}/${n}$|%{_bindir}/${n}%{with_pyver}|" %{name}.filelist
done
%endif
#install -d %{buildroot}%{_mandir}/man1/
#cp -a doc/*/man/*.1 %{buildroot}%{_mandir}/man1/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-, root, root)
%changelog
* Thu Jan 10 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 18.9.0-2mamba
- rebuild with python 3.6 support
* Tue Oct 23 2018 Automatic Build System <autodist@mambasoft.it> 18.9.0-1mamba
- automatic version update by autodist