be less and more specific in %files

More specific in case of indication that entry is a directory.
Less specific in case of indication of directory name.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-08-10 07:50:23 +02:00
parent 7af8458b9f
commit aa4b9f051b
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -87,15 +87,15 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
%files -n python2-%{pkgname}
%doc README.rst TODO.txt
%license COPYING
%{python2_sitearch}/%{pkgname}-%{version}-py%{python2_version}.egg-info
%{python2_sitearch}/%{pkgname}
%{python2_sitearch}/%{pkgname}-*.egg-info/
%{python2_sitearch}/%{pkgname}/
%{python2_sitearch}/_%{pkgname}.so
%files -n python3-%{pkgname}
%doc README.rst TODO.txt
%license COPYING
%{python3_sitearch}/%{pkgname}-%{version}-py%{python3_version}.egg-info
%{python3_sitearch}/%{pkgname}
%{python3_sitearch}/%{pkgname}-*.egg-info/
%{python3_sitearch}/%{pkgname}/
%{python3_sitearch}/_%{pkgname}.*.so
%files doc