14
0
forked from pool/python-pycurl

Accepting request 692313 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/692313
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycurl?expand=0&rev=29
This commit is contained in:
2019-04-10 21:10:58 +00:00
committed by Git OBS Bridge
2 changed files with 18 additions and 9 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Apr 8 15:35:42 CEST 2019 - Matej Cepl <mcepl@suse.com>
- bsc#1128355: update to the Factory package to get multibuild and
better working tests.
- Refreshed patch against the new minor release tarball:
- pycurl-libssh.patch
- Added patches:
- disable_randomly_failing_tests.patch
- python-pycurl-7.43.0-tls-backend.patch (from
https://src.fedoraproject.org/rpms/python-pycurl/blob/master/f/0002-python-pycurl-7.43.0-tls-backend.patch)
-------------------------------------------------------------------
Tue Mar 12 14:20:40 UTC 2019 - Matej Cepl <mcepl@suse.com>

View File

@@ -18,19 +18,16 @@
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define test 1
%define psuffix -test
%bcond_without test
%else
%define psuffix %{nil}
%bcond_with test
%endif
%if %{with test}
Name: python-pycurl-%{flavor}
%else
Name: python-pycurl
%endif
Name: python-pycurl%{psuffix}
Version: 7.43.0.2
Release: 0
Summary: PycURL -- cURL library module
@@ -122,14 +119,14 @@ nosetests-%{$python_bin_suffix} -v --with-flaky -a "$test_flags"
rm -rf %{buildroot}%{_libexecdir}/debug %{buildroot}%{_libdir}/python*
%endif # test
%if ! %{with test}
%files %{python_files}
%license COPYING-LGPL COPYING-MIT
%doc AUTHORS ChangeLog README.rst
%if ! %{with test}
%{python_sitearch}/*
%endif
%files -n %{name}-doc
%doc examples doc/*.rst
%endif
%changelog