From c058aa5106d8c9e62a88dfaeab575f502f9c379d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 1 Jan 2017 21:25:45 +0100 Subject: [PATCH] be more explicit about file list Signed-off-by: Igor Gnatenko --- python-distro.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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