From 4be058378397d092319d707bfe0e7323eebdcae2a6b377d3e08fcfcf1567ed94 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 21 Nov 2022 14:19:57 +0000 Subject: [PATCH] - Skip rpmlint error python-tests-in-package. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=73 --- python-testtools.changes | 5 +++++ python-testtools.rpmlintrc | 1 + python-testtools.spec | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 python-testtools.rpmlintrc diff --git a/python-testtools.changes b/python-testtools.changes index b0bcfff..f76395e 100644 --- a/python-testtools.changes +++ b/python-testtools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 21 14:19:47 UTC 2022 - Matej Cepl + +- Skip rpmlint error python-tests-in-package. + ------------------------------------------------------------------- Fri Nov 11 13:31:42 UTC 2022 - pgajdos@suse.com diff --git a/python-testtools.rpmlintrc b/python-testtools.rpmlintrc new file mode 100644 index 0000000..9544ff5 --- /dev/null +++ b/python-testtools.rpmlintrc @@ -0,0 +1 @@ +addFilter("E: python-tests-in-package.*/usr/lib/.*/site-packages/testtools/tests") diff --git a/python-testtools.spec b/python-testtools.spec index bc6f929..180a9a2 100644 --- a/python-testtools.spec +++ b/python-testtools.spec @@ -31,7 +31,8 @@ Summary: Extensions to the Python Standard Library Unit Testing Framework License: MIT Group: Development/Languages/Python URL: https://github.com/testing-cabal/testtools -Source: 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 pbr} BuildRequires: %{python_module setuptools} BuildRequires: fdupes