update to 7.43.0
This commit is contained in:
parent
f13b8f6920
commit
22f94c6daa
@ -1,42 +0,0 @@
|
|||||||
From 0941cfa2dcc264ddd66a2b2f5212819bb3d2e538 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kamil Dudka <kdudka@redhat.com>
|
|
||||||
Date: Tue, 5 Jan 2016 22:40:32 -0500
|
|
||||||
Subject: [PATCH] COPYING-LGPL: update FSF address
|
|
||||||
|
|
||||||
Upstream-commit: 8304b49390c004c516f2c9511c8e68351a775404
|
|
||||||
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
|
||||||
---
|
|
||||||
COPYING-LGPL | 6 ++----
|
|
||||||
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/COPYING-LGPL b/COPYING-LGPL
|
|
||||||
index 99dce33..4362b49 100644
|
|
||||||
--- a/COPYING-LGPL
|
|
||||||
+++ b/COPYING-LGPL
|
|
||||||
@@ -2,7 +2,7 @@
|
|
||||||
Version 2.1, February 1999
|
|
||||||
|
|
||||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
|
||||||
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
@@ -485,7 +485,7 @@ convey the exclusion of warranty; and each file should have at least the
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library; if not, write to the Free Software
|
|
||||||
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
@@ -500,5 +500,3 @@ necessary. Here is a sample; alter the names:
|
|
||||||
Ty Coon, President of Vice
|
|
||||||
|
|
||||||
That's all there is to it!
|
|
||||||
-
|
|
||||||
-
|
|
||||||
--
|
|
||||||
2.5.0
|
|
||||||
|
|
||||||
@ -2,17 +2,14 @@
|
|||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
Name: python-pycurl
|
Name: python-pycurl
|
||||||
Version: 7.21.5
|
Version: 7.43.0
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A Python interface to libcurl
|
Summary: A Python interface to libcurl
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: LGPLv2+ or MIT
|
License: LGPLv2+ or MIT
|
||||||
URL: http://pycurl.sourceforge.net/
|
URL: http://pycurl.sourceforge.net/
|
||||||
Source0: https://github.com/pycurl/downloads/raw/master/pycurl-%{version}.tar.gz
|
Source0: https://dl.bintray.com/pycurl/pycurl/pycurl-%{version}.tar.gz
|
||||||
|
|
||||||
# update FSF address in COPYING-LGPL (detected by rpmlint)
|
|
||||||
Patch1: 0001-COPYING-LGPL-update-FSF-address.patch
|
|
||||||
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -55,7 +52,6 @@ of features.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup0 -q -n pycurl-%{version}
|
%setup0 -q -n pycurl-%{version}
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
# remove binaries packaged by upstream
|
# remove binaries packaged by upstream
|
||||||
rm -f tests/fake-curl/libcurl/*.so
|
rm -f tests/fake-curl/libcurl/*.so
|
||||||
@ -65,16 +61,16 @@ rm -f tests/ssh_key_cb_test.py
|
|||||||
|
|
||||||
# remove tests depending on the 'flaky' nose plug-in (not available in Fedora)
|
# remove tests depending on the 'flaky' nose plug-in (not available in Fedora)
|
||||||
grep '^import flaky' -r tests | cut -d: -f1 | xargs rm -fv
|
grep '^import flaky' -r tests | cut -d: -f1 | xargs rm -fv
|
||||||
sed -e 's/ --with-flaky//' -i tests/run.sh
|
|
||||||
|
# drop options that are not supported by nose in Fedora
|
||||||
|
sed -e 's/ --show-skipped//' \
|
||||||
|
-e 's/ --with-flaky//' \
|
||||||
|
-i tests/run.sh
|
||||||
|
|
||||||
# copy the whole directory for the python3 build
|
# copy the whole directory for the python3 build
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
|
|
||||||
# temporarily tweak a failing test-case
|
|
||||||
sed -e 's/assert isinstance(socket_open_address, bytes)/pass/' \
|
|
||||||
-i %{py3dir}/tests/open_socket_cb_test.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
%{__python} setup.py build --with-nss
|
%{__python} setup.py build --with-nss
|
||||||
@ -113,6 +109,9 @@ rm -rf %{buildroot}%{_datadir}/doc/pycurl
|
|||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 06 2016 Kamil Dudka <kdudka@redhat.com> - 7.43.0-1
|
||||||
|
- update to 7.43.0
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.21.5-4
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.21.5-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user