forked from pool/python-urlgrabber
Accepting request 151506 from home:matejcik:branches:devel:languages:python
- fixed timeout and other errors breaking yum compatibility (bnc#793650) OBS-URL: https://build.opensuse.org/request/show/151506 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urlgrabber?expand=0&rev=20
This commit is contained in:
committed by
Git OBS Bridge
parent
98764afd6d
commit
8f45c0f8c6
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-urlgrabber
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 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
|
||||
@@ -24,6 +24,7 @@ Summary: A high-level cross-protocol url-grabber
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pycurl
|
||||
@@ -44,6 +45,7 @@ throttling, authentication, proxies and more.
|
||||
%prep
|
||||
%setup -q -n urlgrabber-%{version}
|
||||
sed -i "13d" urlgrabber/__init__.py # Remove wrong license header, fixes bnc#781323
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
Reference in New Issue
Block a user