diff --git a/python-tzlocal.spec b/python-tzlocal.spec index 3e0f7ff..9b24e4e 100644 --- a/python-tzlocal.spec +++ b/python-tzlocal.spec @@ -61,14 +61,15 @@ file. However, if the timezone name is readily available it will be used. %install %python_install -%fdupes -s %{buildroot} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -python setup.py test +%python_exec setup.py test %files %{python_files} %defattr(-,root,root) -%doc README.rst MANIFEST.in LICENSE.txt CHANGES.txt PKG-INFO +%license LICENSE.txt +%doc README.rst MANIFEST.in CHANGES.txt PKG-INFO %{python_sitelib}/%{modname} %{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info