14
0
forked from pool/python-pycurl

Accepting request 571151 from home:vitezslav_cizek:branches:devel:languages:python

- Since version 7.58.0, curl may be compiled with libssh instead of
  libssh2 which differ in supported functionality (bsc#1078329)
  * add pycurl-libssh.patch
- update license

OBS-URL: https://build.opensuse.org/request/show/571151
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=34
This commit is contained in:
Tomáš Chvátal
2018-01-30 17:25:48 +00:00
committed by Git OBS Bridge
parent 8d7f4c29b2
commit c1a8a0c2b5
3 changed files with 76 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycurl
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,12 +22,14 @@ Name: python-pycurl
Version: 7.43.0.1
Release: 0
Summary: PycURL -- cURL library module
License: LGPL-2.1+ and MIT
License: LGPL-2.1+ AND MIT
Group: Development/Languages/Python
Url: http://pycurl.sourceforge.net/
Source: https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-%{version}.tar.gz
# PATCH-FIX-OPENSUSE increase_test_timeout.diff -- Increase the timeout in a test so it doesn't fail when obs is overloaded
Patch0: increase_test_timeout.diff
# PATCH-FIX-UPSTREAM handle difference between libssh and libssh2
Patch1: pycurl-libssh.patch
BuildRequires: %{python_module bottle}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module flaky}
@@ -61,6 +63,7 @@ This package contains documentation and examples.
%prep
%setup -q -n pycurl-%{version}
%patch0 -p1
%patch1 -p1
%build
export CFLAGS="%{optflags}"