diff --git a/python-pycurl.spec b/python-pycurl.spec index 84d4dcc..b5834c2 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -18,7 +18,6 @@ %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} - %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define test 1 @@ -26,6 +25,7 @@ %else %bcond_with test %endif + %if %{with test} Name: python-pycurl-%{flavor} %else @@ -36,7 +36,7 @@ Release: 0 Summary: PycURL -- cURL library module License: LGPL-2.1-or-later AND MIT Group: Development/Languages/Python -URL: http://pycurl.sourceforge.net/ +URL: http://pycurl.io/ Source: https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-%{version}.tar.gz # PATCH-FIX-OPENSUSE increase_test_timeout.diff -- Increase the timeout in a test so it doesn't fail when obs is overloaded Patch0: increase_test_timeout.diff