From 6f1aea293d986aaff49119b40a915cf5a944eae0ebdb8a0fe3b64b99f7e1422a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 21 Nov 2022 16:04:33 +0000 Subject: [PATCH] - Fix rpmlint error python-tests-in-package. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trio?expand=0&rev=26 --- python-trio.changes | 5 +++++ python-trio.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-trio.changes b/python-trio.changes index 46c9836..4dde207 100644 --- a/python-trio.changes +++ b/python-trio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 21 16:04:21 UTC 2022 - Matej Cepl + +- Fix rpmlint error python-tests-in-package. + ------------------------------------------------------------------- Sun Sep 25 19:11:32 UTC 2022 - Dirk Müller diff --git a/python-trio.spec b/python-trio.spec index a04111a..5e7067b 100644 --- a/python-trio.spec +++ b/python-trio.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-trio Version: 0.21.0 @@ -70,7 +69,7 @@ sed -i '1{/^#!/d}' trio/_tools/gen_exports.py %install %python_install -%{python_expand rm -r %{buildroot}%{$python_sitelib}/trio/tests/ +%{python_expand rm -r %{buildroot}%{$python_sitelib}/trio/{,_core/}tests/ %fdupes %{buildroot}%{$python_sitelib} }