- Fix rpmlint error python-tests-in-package.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trio?expand=0&rev=26
This commit is contained in:
Matej Cepl 2022-11-21 16:04:33 +00:00 committed by Git OBS Bridge
parent fc602d2b0c
commit 6f1aea293d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 21 16:04:21 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Fix rpmlint error python-tests-in-package.
-------------------------------------------------------------------
Sun Sep 25 19:11:32 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

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