be more explicit about file list

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2017-01-01 21:25:45 +01:00
parent 5e64c3f1c6
commit c058aa5106

View File

@ -85,16 +85,16 @@ rm -rf %{pypi_name}.egg-info
# not included in tar.gz
# see https://github.com/nir0s/distro/issues/139
#%%license LICENSE
%{python2_sitelib}/%{pypi_name}-*.egg-info/
%{python2_sitelib}/%{pypi_name}.py*
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%if 0%{with_python3}
%files -n python3-%{pypi_name}
%doc README.rst
#%%license LICENSE
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/%{pypi_name}-*.egg-info/
%{python3_sitelib}/%{pypi_name}.py
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%{python3_sitelib}/__pycache__/%{pypi_name}.*
%endif
%{_bindir}/distro