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:
parent
7af8458b9f
commit
aa4b9f051b
@ -87,15 +87,15 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
|
|||||||
%files -n python2-%{pkgname}
|
%files -n python2-%{pkgname}
|
||||||
%doc README.rst TODO.txt
|
%doc README.rst TODO.txt
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python2_sitearch}/%{pkgname}-%{version}-py%{python2_version}.egg-info
|
%{python2_sitearch}/%{pkgname}-*.egg-info/
|
||||||
%{python2_sitearch}/%{pkgname}
|
%{python2_sitearch}/%{pkgname}/
|
||||||
%{python2_sitearch}/_%{pkgname}.so
|
%{python2_sitearch}/_%{pkgname}.so
|
||||||
|
|
||||||
%files -n python3-%{pkgname}
|
%files -n python3-%{pkgname}
|
||||||
%doc README.rst TODO.txt
|
%doc README.rst TODO.txt
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python3_sitearch}/%{pkgname}-%{version}-py%{python3_version}.egg-info
|
%{python3_sitearch}/%{pkgname}-*.egg-info/
|
||||||
%{python3_sitearch}/%{pkgname}
|
%{python3_sitearch}/%{pkgname}/
|
||||||
%{python3_sitearch}/_%{pkgname}.*.so
|
%{python3_sitearch}/_%{pkgname}.*.so
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
|
Loading…
Reference in New Issue
Block a user