forked from pool/python-pycurl
- Add patch to match up Fedora on how we detect tls backend on runtime
* python-pycurl-7.43.0-tls-backend.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=44
This commit is contained in:
committed by
Git OBS Bridge
parent
e9551c469b
commit
409100f1c0
@@ -30,6 +30,8 @@ Source: https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-%
|
||||
Patch0: increase_test_timeout.diff
|
||||
# PATCH-FIX-UPSTREAM handle difference between libssh and libssh2
|
||||
Patch1: pycurl-libssh.patch
|
||||
# PATCH-FIX-OPENSUSE python-pycurl-7.43.0-tls-backend.patch -- do not run runtime tests to compare linked libs
|
||||
Patch2: python-pycurl-7.43.0-tls-backend.patch
|
||||
BuildRequires: %{python_module bottle}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module flaky}
|
||||
@@ -61,8 +63,7 @@ This package contains documentation and examples.
|
||||
|
||||
%prep
|
||||
%setup -q -n pycurl-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
@@ -94,7 +95,7 @@ if ! pkg-config --variable=supported_protocols libcurl|grep -qw SCP; then
|
||||
test_flags="$test_flags,\!ssh"
|
||||
fi
|
||||
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} \
|
||||
nosetests-%$python_bin_suffix -v --with-flaky -a "$test_flags" -e test_writefunction_collection
|
||||
nosetests-%$python_bin_suffix -v --with-flaky -a "$test_flags"
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
|
Reference in New Issue
Block a user