rebuild with python 3.6 support [release 18.9.0-2mamba;Thu Jan 10 2019]
This commit is contained in:
parent
8be79ecf61
commit
cfe4741b4c
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-twisted
|
Name: python-twisted
|
||||||
Version: 18.9.0
|
Version: 18.9.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Event-driven networking framework written in Python
|
Summary: Event-driven networking framework written in Python
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -55,17 +55,31 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python_sitearch} \
|
||||||
--record=%{name}.filelist
|
--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/
|
#install -d %{buildroot}%{_mandir}/man1/
|
||||||
#cp -a doc/*/man/*.1 %{buildroot}%{_mandir}/man1/
|
#cp -a doc/*/man/*.1 %{buildroot}%{_mandir}/man1/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Oct 23 2018 Automatic Build System <autodist@mambasoft.it> 18.9.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user