Accepting request 635344 from home:seanmarlow:branches:devel:languages:python

Fix fdupes, fix check and move license.

OBS-URL: https://build.opensuse.org/request/show/635344
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tzlocal?expand=0&rev=12
This commit is contained in:
Robert Schweikert 2018-09-12 14:38:08 +00:00 committed by Git OBS Bridge
parent 2411e047d2
commit 8d4641c29a

View File

@ -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