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 b5fad9c..3285101 100644 --- a/python-testtools.changes +++ b/python-testtools.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 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