diff --git a/python-distro.spec b/python-distro.spec index ee7540a..e2a61ee 100644 --- a/python-distro.spec +++ b/python-distro.spec @@ -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