diff --git a/python-fasteners.spec b/python-fasteners.spec index 5332ada..79e6b90 100644 --- a/python-fasteners.spec +++ b/python-fasteners.spec @@ -86,15 +86,15 @@ nosetests-%{python3_version} %files -n python2-%{pypi_name} %doc README.rst %license LICENSE -%{python2_sitelib}/%{pypi_name} -%{python2_sitelib}/%{pypi_name}-%{version}-py%{python_version}.egg-info +%{python2_sitelib}/%{pypi_name}/ +%{python2_sitelib}/%{pypi_name}-*.egg-info/ %if 0%{?with_python3} %files -n python3-%{pypi_name} %doc README.rst %license LICENSE -%{python3_sitelib}/%{pypi_name} -%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/%{pypi_name}-*.egg-info/ %endif # with_python3