14
0
forked from pool/python-pycurl

- Update to 7.43.0.3:

* This release primarily fixes an OpenSSL-related installation issue, and
    repairs the ability to use PycURL with newer libcurls compiled without
    FTP support.
- Rebase patch:
  * python-pycurl-7.43.0-tls-backend.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=64
This commit is contained in:
Tomáš Chvátal
2019-07-23 10:28:57 +00:00
committed by Git OBS Bridge
parent 65a6986e5b
commit 2c6fe7918e
5 changed files with 25 additions and 16 deletions

View File

@@ -18,7 +18,6 @@
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -28,7 +27,7 @@
%bcond_with test
%endif
Name: python-pycurl%{psuffix}
Version: 7.43.0.2
Version: 7.43.0.3
Release: 0
Summary: PycURL -- cURL library module
License: LGPL-2.1-or-later AND MIT
@@ -45,9 +44,10 @@ Patch3: disable_randomly_failing_tests.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: libcurl-devel >= 7.19.0
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(libcurl) >= 7.19.0
BuildRequires: pkgconfig(openssl)
%if %{with test}
BuildRequires: %{python_module bottle}
BuildRequires: %{python_module flaky}
@@ -81,7 +81,7 @@ This package contains documentation and examples.
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
export PYCURL_SSL_LIBRARY=openssl
%python_build --with-ssl
%python_build --with-openssl
%install
export PYCURL_SSL_LIBRARY=openssl