Accepting request 635361 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/635361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tzlocal?expand=0&rev=5
This commit is contained in:
Yuchen Lin 2018-09-13 22:01:06 +00:00 committed by Git OBS Bridge
commit de6fb05e0f
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Sep 12 15:03:50 UTC 2018 - Sean Marlow <sean.marlow@suse.com>
- Fix fdupes, broke python3 package (was symlink to python2)
- Fix check, only tested against python2
- Move license
-------------------------------------------------------------------
Mon Oct 2 12:15:10 UTC 2017 - sean.marlow@suse.com

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