forked from pool/python-trio
- 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:
parent
fc602d2b0c
commit
6f1aea293d
@ -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>
|
Sun Sep 25 19:11:32 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-trio
|
Name: python-trio
|
||||||
Version: 0.21.0
|
Version: 0.21.0
|
||||||
@ -70,7 +69,7 @@ sed -i '1{/^#!/d}' trio/_tools/gen_exports.py
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_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}
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user