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