[packages/python-pycurl] - new URLs, updated to 7.43.0.2 - updated no-static-libs patch
qboosh
qboosh at pld-linux.org
Tue Sep 4 05:31:59 CEST 2018
commit 49fc94170cce8f101a1efd6fc92ea9c9d4235e82
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Sep 4 05:34:47 2018 +0200
- new URLs, updated to 7.43.0.2
- updated no-static-libs patch
python-pycurl-no-static-libs.patch | 8 ++++----
python-pycurl.spec | 23 ++++++++++++-----------
2 files changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/python-pycurl.spec b/python-pycurl.spec
index 10fb153..c03ec64 100644
--- a/python-pycurl.spec
+++ b/python-pycurl.spec
@@ -14,25 +14,25 @@
Summary: Free and easy-to-use client-side URL transfer library
Summary(pl.UTF-8): Łatwa w użyciu biblioteka obsługi URL od strony klienta
Name: python-%{module}
-Version: 7.21.5
-Release: 3
+Version: 7.43.0.2
+Release: 1
License: LGPL v2 or MIT-like
Group: Libraries/Python
-Source0: http://pycurl.sourceforge.net/download/%{module}-%{version}.tar.gz
-# Source0-md5: bca7bf47320082588db544ced2ba8717
+Source0: https://dl.bintray.com/pycurl/pycurl/%{module}-%{version}.tar.gz
+# Source0-md5: 89311d1b3bb42a5dbb88609fdbdee6de
Patch0: %{name}-no-static-libs.patch
-URL: http://pycurl.sourceforge.net/
+URL: http://pycurl.io/
BuildRequires: curl-devel >= 7.19
BuildRequires: pkgconfig >= 1:0.20
%if %{with python2}
-BuildRequires: python >= 1:2.5
-BuildRequires: python-devel >= 1:2.5
-BuildRequires: python-modules >= 1:2.5
+BuildRequires: python >= 1:2.7
+BuildRequires: python-devel >= 1:2.7
+BuildRequires: python-modules >= 1:2.7
%endif
%if %{with python3}
-BuildRequires: python3 >= 1:3.2
-BuildRequires: python3-devel >= 1:3.2
-BuildRequires: python3-modules >= 1:3.2
+BuildRequires: python3 >= 1:3.4
+BuildRequires: python3-devel >= 1:3.4
+BuildRequires: python3-modules >= 1:3.4
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
@@ -153,6 +153,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python3}
%files -n python3-pycurl
%defattr(644,root,root,755)
+%doc AUTHORS COPYING-MIT ChangeLog README.rst RELEASE-NOTES.rst
%attr(755,root,root) %{py3_sitedir}/pycurl*.so
%dir %{py3_sitedir}/curl
%{py3_sitedir}/curl/__pycache__
diff --git a/python-pycurl-no-static-libs.patch b/python-pycurl-no-static-libs.patch
index f2226df..9004c02 100644
--- a/python-pycurl-no-static-libs.patch
+++ b/python-pycurl-no-static-libs.patch
@@ -1,11 +1,11 @@
---- pycurl-7.19.3.1/setup.py.orig 2014-02-08 22:45:35.815908728 +0100
-+++ pycurl-7.19.3.1/setup.py 2014-02-09 07:30:52.621252762 +0100
-@@ -147,8 +147,8 @@
+--- pycurl-7.43.0.2/setup.py.orig 2018-09-03 22:09:16.912172836 +0200
++++ pycurl-7.43.0.2/setup.py 2018-09-03 22:18:29.335499860 +0200
+@@ -274,8 +274,8 @@
optbuf = ''
sslhintbuf = ''
errtext = ''
- for option in ["--libs", "--static-libs"]:
-- p = subprocess.Popen((CURL_CONFIG, option),
+- p = subprocess.Popen((self.curl_config(), option),
+ for option in ["--libs", "--static --libs"]:
+ p = subprocess.Popen("'%s' %s libcurl" % ('pkg-config', option), shell=True,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pycurl.git/commitdiff/49fc94170cce8f101a1efd6fc92ea9c9d4235e82
More information about the pld-cvs-commit
mailing list