diff --git a/python-pygit2.spec b/python-pygit2.spec index 28d3cdc..54d7c98 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -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