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:
parent
2411e047d2
commit
8d4641c29a
@ -61,14 +61,15 @@ file. However, if the timezone name is readily available it will be used.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%fdupes -s %{buildroot}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
python setup.py test
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%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}
|
||||||
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
|
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user