14
0
forked from pool/python-pycurl

Accepting request 234864 from home:TheBlackCat:branches:devel:languages:python

Update to version 7.19.3.1

OBS-URL: https://build.opensuse.org/request/show/234864
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=19
This commit is contained in:
Todd R
2014-05-20 14:19:04 +00:00
committed by Git OBS Bridge
parent 1e59230168
commit 5b4fb2390c
7 changed files with 161 additions and 1060 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycurl
#
# 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
@@ -17,19 +17,25 @@
Name: python-pycurl
Version: 7.19.0
Version: 7.19.3.1
Release: 0
Url: http://pycurl.sourceforge.net/
Summary: PycURL -- cURL library module
License: LGPL-2.1+ and MIT
Group: Development/Languages/Python
Source: http://pycurl.sourceforge.net/download/pycurl-%{version}.tar.gz
Patch0: pycurl-7.18.1-nostaticlibs.patch
Patch1: pycurl-no-runtime-curlvercheck.patch
Source: https://pypi.python.org/packages/source/p/pycurl/pycurl-%{version}.tar.gz
Patch0: pycurl-no-runtime-curlvercheck.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libcurl-devel >= 7.19.0
BuildRequires: openssl-devel
BuildRequires: python-devel
BuildRequires: python-bottle
BuildRequires: python-CherryPy
BuildRequires: python-nose
BuildRequires: python-simplejson
Requires: python-bottle
Requires: python-CherryPy
Requires: python-simplejson
%if 0%{?suse_version}
%py_requires
%endif
@@ -52,8 +58,8 @@ This package contains documentation and examples.
%prep
%setup -q -n pycurl-%{version}
%patch0
%patch1 -p1
%patch0 -p1
%build
CFLAGS="%{optflags}" python setup.py build
@@ -63,11 +69,11 @@ rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING README TODO
%doc AUTHORS ChangeLog COPYING-LGPL COPYING-MIT README.rst
%{python_sitearch}/*
%files doc
%defattr(-,root,root)
%doc examples doc/*.html
%doc examples doc/*.rst
%changelog