From 8d4641c29a555339c1f87a05a6fde96ea85ea25c68f23058f6bbbdb8ffa1220b Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 12 Sep 2018 14:38:08 +0000 Subject: [PATCH] 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 --- python-tzlocal.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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