Do not install __init__ files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.context?expand=0&rev=2
This commit is contained in:
parent
bfe3ea5f7c
commit
4794dba75c
@ -58,6 +58,7 @@ Additional functools in the spirit of stdlib’s functools.
|
|||||||
%py3_compile -O %{buildroot}%{python3_sitelib}/jaraco/
|
%py3_compile -O %{buildroot}%{python3_sitelib}/jaraco/
|
||||||
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
%python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__pycache__/__init__*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
@ -67,6 +68,6 @@ Additional functools in the spirit of stdlib’s functools.
|
|||||||
%doc docs/*.rst README.rst CHANGES.rst
|
%doc docs/*.rst README.rst CHANGES.rst
|
||||||
%{python_sitelib}/jaraco.context-%{version}-py*.egg-info
|
%{python_sitelib}/jaraco.context-%{version}-py*.egg-info
|
||||||
%{python_sitelib}/jaraco/context.py*
|
%{python_sitelib}/jaraco/context.py*
|
||||||
%pycache_only %{python_sitelib}/jaraco/__pycache__/*.py*
|
%pycache_only %{python_sitelib}/jaraco/__pycache__/context*.py*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user