diff --git a/0001-COPYING-LGPL-update-FSF-address.patch b/0001-COPYING-LGPL-update-FSF-address.patch deleted file mode 100644 index 0a34dfe..0000000 --- a/0001-COPYING-LGPL-update-FSF-address.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 0941cfa2dcc264ddd66a2b2f5212819bb3d2e538 Mon Sep 17 00:00:00 2001 -From: Kamil Dudka -Date: Tue, 5 Jan 2016 22:40:32 -0500 -Subject: [PATCH] COPYING-LGPL: update FSF address - -Upstream-commit: 8304b49390c004c516f2c9511c8e68351a775404 -Signed-off-by: Kamil Dudka ---- - 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 - diff --git a/python-pycurl.spec b/python-pycurl.spec index 9083e3a..650b4f4 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -2,17 +2,14 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: python-pycurl -Version: 7.21.5 -Release: 4%{?dist} +Version: 7.43.0 +Release: 1%{?dist} Summary: A Python interface to libcurl Group: Development/Languages License: LGPLv2+ or MIT URL: http://pycurl.sourceforge.net/ -Source0: https://github.com/pycurl/downloads/raw/master/pycurl-%{version}.tar.gz - -# update FSF address in COPYING-LGPL (detected by rpmlint) -Patch1: 0001-COPYING-LGPL-update-FSF-address.patch +Source0: https://dl.bintray.com/pycurl/pycurl/pycurl-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python3-devel @@ -55,7 +52,6 @@ of features. %prep %setup0 -q -n pycurl-%{version} -%patch1 -p1 # remove binaries packaged by upstream 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) 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 rm -rf %{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 export CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build --with-nss @@ -113,6 +109,9 @@ rm -rf %{buildroot}%{_datadir}/doc/pycurl %{python3_sitearch}/* %changelog +* Sat Feb 06 2016 Kamil Dudka - 7.43.0-1 +- update to 7.43.0 + * Thu Feb 04 2016 Fedora Release Engineering - 7.21.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 0844b73..c76dcd9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bca7bf47320082588db544ced2ba8717 pycurl-7.21.5.tar.gz +c94bdba01da6004fa38325e9bd6b9760 pycurl-7.43.0.tar.gz