diff --git a/python-urllib3.changes b/python-urllib3.changes index dc853e8..a86212f 100644 --- a/python-urllib3.changes +++ b/python-urllib3.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Oct 6 15:03:05 UTC 2015 - hpj@urpla.net + +- add python-pyOpenSSL, python-certifi and python-pyasn1 requirements + +------------------------------------------------------------------- +Tue Oct 6 12:46:25 UTC 2015 - hpj@urpla.net + +- Comment out test requirements, as tests are disabled anyway, and + one of these packages depend on python-requests, which depends on + this package resulting in a circular dependency for openSUSE <= 13.1 + ------------------------------------------------------------------- Fri Sep 25 11:24:49 UTC 2015 - p.drouand@gmail.com diff --git a/python-urllib3.spec b/python-urllib3.spec index d2eddcc..6281f3c 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -1,7 +1,7 @@ # # spec file for package python-urllib3 # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,16 +28,10 @@ Source: https://pypi.python.org/packages/source/u/urllib3/urllib3-%{vers Patch0: 0001-Don-t-pin-dependency-to-exact-version.patch # PATCH-FIX-OPENSUSE speilicke@suse.com -- We need no coverage report Patch1: urllib3-test-no-coverage.patch -BuildRequires: python-certifi BuildRequires: python-devel -# Test requirements: -BuildRequires: python-mock >= 1.3.0 -BuildRequires: python-nose >= 1.3.7 -BuildRequires: python-nose-exclude >= 0.4.1 -BuildRequires: python-tornado >= 4.2.1 -BuildRequires: python-tox >= 2.1.1 -BuildRequires: python-twine >= 1.5.0 -BuildRequires: python-wheel >= 0.24.0 +Requires: python-certifi +Requires: python-pyOpenSSL +Requires: python-pyasn1 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -72,11 +66,6 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -# Tests require network -#%check -#rm -rf build -#PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests -I test_util.py - %files %defattr(-,root,root,-) %doc CHANGES.rst CONTRIBUTORS.txt LICENSE.txt README.rst