14
0
forked from pool/python-pycurl

Accepting request 660010 from devel:languages:python

- Add missing setuptools BR

OBS-URL: https://build.opensuse.org/request/show/660010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycurl?expand=0&rev=26
This commit is contained in:
2018-12-26 23:29:41 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 19 14:18:26 CET 2018 - mcepl@suse.com
- Add missing setuptools BR
-------------------------------------------------------------------
Fri Nov 2 11:14:22 UTC 2018 - Vítězslav Čížek <vcizek@suse.com>

View File

@@ -46,6 +46,7 @@ Patch1: pycurl-libssh.patch
Patch2: python-pycurl-7.43.0-tls-backend.patch
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
@@ -115,7 +116,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"
nosetests-%{$python_bin_suffix} -v --with-flaky -a "$test_flags"
}
rm -rf %{buildroot}%{_libexecdir}/debug %{buildroot}%{_libdir}/python*
%endif # test