From 1fc4d628f375ad97f757de34a74e1d3fbaf0c5af Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:48:05 +0100 Subject: [PATCH] update to 21.2.0 [release 21.2.0-1mamba;Fri Apr 09 2021] --- python-twisted.spec | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/python-twisted.spec b/python-twisted.spec index a1e18c1..e6c422d 100644 --- a/python-twisted.spec +++ b/python-twisted.spec @@ -1,26 +1,26 @@ %define pkgmajver %(echo %{version} | cut -d. -f 1-2) Name: python-twisted -Version: 20.3.0 +Version: 21.2.0 Release: 1mamba Summary: Event-driven networking framework written in Python Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Tiziana Ferro -URL: http://www.twistedmatrix.com/ -Source: https://pypi.debian.net/Twisted/Twisted-%{version}.tar.bz2 +URL: https://www.twistedmatrix.com/ +Source: https://pypi.debian.net/Twisted/Twisted-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN -BuildRequires: glibc-devel -BuildRequires: libpython-devel >= %python_version +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(attrs) +BuildRequires: python3.7dist(automat) +BuildRequires: python3.7dist(constantly) +BuildRequires: python3.7dist(hyperlink) +BuildRequires: python3.7dist(incremental) +BuildRequires: python3.7dist(setuptools) +BuildRequires: python3.7dist(zope.interface) ## AUTOBUILDREQ-END -BuildRequires: python -BuildRequires: python-zopeinterface -Requires: python >= %python_version -Requires: python-zopeinterface -BuildRoot: %{_tmppath}/%{name}-%{version}-root -Provides: python-Twisted = %{version}-%{release} %description An event-driven networking framework written in Python and licensed under the LGPL. @@ -55,6 +55,8 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + sed -i "/iocpsupport.*\.so$/d" %{name}.filelist %if 0%{?with_pyver} @@ -66,7 +68,6 @@ for f in %{buildroot}%{_bindir}/*; do done %endif - #install -d %{buildroot}%{_mandir}/man1/ #cp -a doc/*/man/*.1 %{buildroot}%{_mandir}/man1/ @@ -75,8 +76,13 @@ done %files %{?pyappend} -f %{name}.filelist %defattr(-, root, root) +%dir %{python_sitearch}/Twisted-%{version}-py*.egg-info +%{python_sitearch}/Twisted-%{version}-py*.egg-info/* %changelog +* Fri Apr 09 2021 Silvan Calarco 21.2.0-1mamba +- update to 21.2.0 + * Thu Apr 23 2020 Automatic Build System 20.3.0-1mamba - automatic version update by autodist