14
0

Accepting request 249883 from home:dmacvicar:branches:devel:languages:python

- Add python-urlgrabber-3.9.1-preserve-queryparams-in-urls.patch
  (bnc#896844)

OBS-URL: https://build.opensuse.org/request/show/249883
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urlgrabber?expand=0&rev=23
This commit is contained in:
Jan Matejek
2014-09-17 14:54:38 +00:00
committed by Git OBS Bridge
parent e43196f99a
commit 57a2e44cf6
3 changed files with 38 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-urlgrabber
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@ License: LGPL-2.1
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/u/urlgrabber/urlgrabber-%{version}.tar.gz
Patch0: grabber_fix.diff
# PATCH-FIX-UPSTREAM bnc#896844
Patch1: python-urlgrabber-3.9.1-preserve-queryparams-in-urls.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-pycurl
@@ -46,6 +48,7 @@ throttling, authentication, proxies and more.
%setup -q -n urlgrabber-%{version}
sed -i "13d" urlgrabber/__init__.py # Remove wrong license header, fixes bnc#781323
%patch0 -p1
%patch1 -p1
%build
python setup.py build