From 8ff561d38bd8b9178a5f3e335096086d072a0758e3236e6ad8a3355438e17e16 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 8 May 2024 02:59:17 +0000 Subject: [PATCH 1/2] - Drop the now unneeded rpmlintrc. - Clean up BuildRequires and Requires to match reality. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=81 --- python-testtools.changes | 6 ++++++ python-testtools.rpmlintrc | 1 - python-testtools.spec | 16 +++++++--------- 3 files changed, 13 insertions(+), 10 deletions(-) delete mode 100644 python-testtools.rpmlintrc diff --git a/python-testtools.changes b/python-testtools.changes index b5fad9c..6abf159 100644 --- a/python-testtools.changes +++ b/python-testtools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 8 02:57:38 UTC 2024 - Steve Kowalik + +- Drop the now unneeded rpmlintrc. +- Clean up BuildRequires and Requires to match reality. + ------------------------------------------------------------------- Sat Dec 30 20:31:27 UTC 2023 - Dirk Müller diff --git a/python-testtools.rpmlintrc b/python-testtools.rpmlintrc deleted file mode 100644 index 9544ff5..0000000 --- a/python-testtools.rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -addFilter("E: python-tests-in-package.*/usr/lib/.*/site-packages/testtools/tests") diff --git a/python-testtools.spec b/python-testtools.spec index 7f0b16d..eb36952 100644 --- a/python-testtools.spec +++ b/python-testtools.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-testtools # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,25 +30,23 @@ Version: 2.7.1 Release: 0 Summary: Extensions to the Python Standard Library Unit Testing Framework License: MIT -Group: Development/Languages/Python URL: https://github.com/testing-cabal/testtools Source0: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz -Source99: python-testtools.rpmlintrc BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Twisted -Requires: python-pbr >= 0.11 -Requires: python-python-mimeparse -Requires: python-traceback2 +%if %python_version_nodots > 311 +Requires: python-setuptools +%endif BuildArch: noarch %if %{with test} BuildRequires: %{python_module fixtures} -BuildRequires: %{python_module python-mimeparse} +BuildRequires: %{python_module testresources} BuildRequires: %{python_module testscenarios} -BuildRequires: %{python_module traceback2} +BuildRequires: %{python_module testtools = %{version}} %endif Recommends: python-fixtures >= 2.0 %python_subpackages From 5e1b7ab5866af20c6cb7126bdcb743de355dd3daedf9ec0ac620978fb089a055 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 8 May 2024 06:42:55 +0000 Subject: [PATCH 2/2] - Add missing _multibuild file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=82 --- _multibuild | 3 +++ python-testtools.changes | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 _multibuild diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..fcc7b97 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/python-testtools.changes b/python-testtools.changes index 6abf159..3285101 100644 --- a/python-testtools.changes +++ b/python-testtools.changes @@ -1,8 +1,9 @@ ------------------------------------------------------------------- -Wed May 8 02:57:38 UTC 2024 - Steve Kowalik +Wed May 8 06:42:24 UTC 2024 - Steve Kowalik - Drop the now unneeded rpmlintrc. - Clean up BuildRequires and Requires to match reality. +- Add missing _multibuild file. ------------------------------------------------------------------- Sat Dec 30 20:31:27 UTC 2023 - Dirk Müller