[packages/python-twisted] - python2 note, updated URLs, rpm version for noarch subpackage

qboosh qboosh at pld-linux.org
Wed Apr 27 17:54:59 CEST 2022


commit 7bda8fd9175c41cc11976925266f4cfad81b8b14
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 27 17:55:17 2022 +0200

    - python2 note, updated URLs, rpm version for noarch subpackage

 python-twisted.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/python-twisted.spec b/python-twisted.spec
index 7b68afe..8d0c7aa 100644
--- a/python-twisted.spec
+++ b/python-twisted.spec
@@ -11,13 +11,14 @@
 Summary:	Twisted - a networking engine written in Python
 Summary(pl.UTF-8):	Twisted - silnik sieciowy napisany w Pythonie
 Name:		python-twisted
+# keep 20.x here for python2 support
 Version:	20.3.0
 Release:	5
 License:	MIT
 Group:		Libraries/Python
-Source0:	http://twistedmatrix.com/Releases/Twisted/20.3/Twisted-%{version}.tar.bz2
+Source0:	https://twistedmatrix.com/Releases/Twisted/20.3/Twisted-%{version}.tar.bz2
 # Source0-md5:	fc16d575730db7d0cddd09fc35af3eea
-URL:		http://twistedmatrix.com/
+URL:		https://twistedmatrix.com/
 %if %{with python2}
 BuildRequires:	python-devel >= 1:2.7
 BuildRequires:	python-incremental >= 16.10.1
@@ -78,8 +79,11 @@ BuildRequires:	python3-pyOpenSSL >= 16.0.0
 BuildRequires:	python3-service_identity >= 18.1.0
 %endif
 %endif
+BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.714
+%if %{with doc}
 BuildRequires:	sphinx-pdg >= 1.3.1
+%endif
 Requires:	python-pyOpenSSL >= 0.10
 Requires:	python-zope.interface >= 3.6.0
 # python-TwistedConch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-twisted.git/commitdiff/7bda8fd9175c41cc11976925266f4cfad81b8b14



More information about the pld-cvs-commit mailing list