14
0

- 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
This commit is contained in:
2024-05-08 02:59:17 +00:00
committed by Git OBS Bridge
parent 2e017dde25
commit 8ff561d38b
3 changed files with 13 additions and 10 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 8 02:57:38 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Drop the now unneeded rpmlintrc.
- Clean up BuildRequires and Requires to match reality.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 30 20:31:27 UTC 2023 - Dirk Müller <dmueller@suse.com> 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -30,25 +30,23 @@ Version: 2.7.1
Release: 0 Release: 0
Summary: Extensions to the Python Standard Library Unit Testing Framework Summary: Extensions to the Python Standard Library Unit Testing Framework
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/testing-cabal/testtools URL: https://github.com/testing-cabal/testtools
Source0: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz 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 hatch_vcs}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Twisted Requires: python-Twisted
Requires: python-pbr >= 0.11 %if %python_version_nodots > 311
Requires: python-python-mimeparse Requires: python-setuptools
Requires: python-traceback2 %endif
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module fixtures} BuildRequires: %{python_module fixtures}
BuildRequires: %{python_module python-mimeparse} BuildRequires: %{python_module testresources}
BuildRequires: %{python_module testscenarios} BuildRequires: %{python_module testscenarios}
BuildRequires: %{python_module traceback2} BuildRequires: %{python_module testtools = %{version}}
%endif %endif
Recommends: python-fixtures >= 2.0 Recommends: python-fixtures >= 2.0
%python_subpackages %python_subpackages