From e876f4bf30eaf19215cbf3bb53db5b1716450e85 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 20 Jan 2018 09:58:39 +0100 Subject: [PATCH] be more explicit in file list Signed-off-by: Igor Gnatenko --- python-setuptools_scm.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index a8e22ef..fe18a5a 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -69,7 +69,8 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -vv %files -n python2-%{srcname} %license LICENSE %doc CHANGELOG.rst README.rst -%{python2_sitelib}/* +%{python2_sitelib}/%{srcname}/ +%{python2_sitelib}/%{srcname}-*.egg-info/ %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE