14
0
forked from pool/python-pycurl

Accepting request 505248 from home:alarrosa:branches:devel:languages:python

- Add increase_test_timeout.diff so tests don't fail when obs is
  overloaded and it takes more than 1 second to start a service.

OBS-URL: https://build.opensuse.org/request/show/505248
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=28
This commit is contained in:
Jan Matejek
2017-06-21 13:51:57 +00:00
committed by Git OBS Bridge
parent 8ef2cc9944
commit c9e5b920e1
3 changed files with 26 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ Url: http://pycurl.sourceforge.net/
Source: https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-%{version}.tar.gz
# PATCH-FIX-UPSTREAM remove __DATE__ and __TIME__
Patch0: pycurl-no-runtime-curlvercheck.patch
# PATCH-FIX-OPENSUSE increase_test_timeout.diff -- Increase the timeout in a test so it doesn't fail when obs is overloaded
Patch1: increase_test_timeout.diff
BuildRequires: %{python_module CherryPy}
BuildRequires: %{python_module bottle}
BuildRequires: %{python_module devel}
@@ -67,6 +69,7 @@ This package contains documentation and examples.
%prep
%setup -q -n pycurl-%{version}
%patch0 -p1
%patch1 -p1
%build
export CFLAGS="%{optflags}"