From 9e49319d7e059699b6103813db383f5693c2d257aedefb6c552a16d86fa92fe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 10 Aug 2018 16:24:56 +0000 Subject: [PATCH] - Run fdupes again - Run tests again - Remove python2-unittest2 dependency as it is not really needed (only required on python2.6) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=13 --- python-botocore.changes | 8 ++++++++ python-botocore.spec | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-botocore.changes b/python-botocore.changes index d33418e..44d055c 100644 --- a/python-botocore.changes +++ b/python-botocore.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Aug 10 16:24:17 UTC 2018 - tchvatal@suse.com + +- Run fdupes again +- Run tests again +- Remove python2-unittest2 dependency as it is not really needed + (only required on python2.6) + ------------------------------------------------------------------- Fri Aug 3 12:34:51 UTC 2018 - rjschwei@suse.com diff --git a/python-botocore.spec b/python-botocore.spec index 4ba3ec0..b4955e1 100644 --- a/python-botocore.spec +++ b/python-botocore.spec @@ -28,7 +28,6 @@ Source: https://files.pythonhosted.org/packages/source/b/botocore/botoco Patch0: hide_py_pckgmgmt.patch # PATCH-FIX-OPENSUSE fix_tests.patch -- fix tests with removed vendored packages Patch1: fix_tests.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module docutils >= 0.10} BuildRequires: %{python_module jmespath < 1.0.0} BuildRequires: %{python_module jmespath >= 0.7.1} @@ -50,7 +49,6 @@ BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} BuildRequires: %{python_module requests} BuildRequires: %{python_module six} -BuildRequires: python-unittest2 # /SECTION %python_subpackages @@ -72,8 +70,10 @@ sed -i 's/botocore\.vendored\.//' botocore/*.py tests/unit/*.py tests/unit/auth/ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check +%python_expand nosetests-%{$python_bin_suffix} tests/unit %files %{python_files} %doc README.rst