Accepting request 1172636 from devel:languages:python

- Drop the now unneeded rpmlintrc.
- Clean up BuildRequires and Requires to match reality.
- Add missing _multibuild file.

OBS-URL: https://build.opensuse.org/request/show/1172636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2024-05-09 10:07:49 +00:00 committed by Git OBS Bridge
commit e4658a49c5
4 changed files with 17 additions and 10 deletions

3
_multibuild Normal file
View File

@ -0,0 +1,3 @@
<multibuild>
<package>test</package>
</multibuild>

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 8 06:42:24 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <dmueller@suse.com>

View File

@ -1 +0,0 @@
addFilter("E: python-tests-in-package.*/usr/lib/.*/site-packages/testtools/tests")

View File

@ -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