diff --git a/python-python-daemon.changes b/python-python-daemon.changes index 82cdc61..73db6a0 100644 --- a/python-python-daemon.changes +++ b/python-python-daemon.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 13 13:30:40 UTC 2018 - mcepl@suse.com + +- Remove dependency on unittest2 + ------------------------------------------------------------------- Tue Oct 10 13:18:27 UTC 2017 - jmatejek@suse.com diff --git a/python-python-daemon.spec b/python-python-daemon.spec index 909110c..c004e46 100644 --- a/python-python-daemon.spec +++ b/python-python-daemon.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-daemon # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,9 +22,9 @@ Name: python-python-daemon Version: 2.1.2 Release: 0 Summary: Library to implement a well-behaved Unix daemon process -License: Apache-2.0 and GPL-3.0 +License: Apache-2.0 AND GPL-3.0-only Group: Development/Languages/Python -Url: http://pypi.python.org/pypi/python-daemon/ +URL: http://pypi.python.org/pypi/python-daemon/ Source: https://files.pythonhosted.org/packages/source/p/python-daemon/python-daemon-%{version}.tar.gz BuildRequires: %{python_module devel >= 2.7} BuildRequires: %{python_module docutils} @@ -34,11 +34,10 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testscenarios >= 0.4} BuildRequires: %{python_module testtools} -BuildRequires: %{python_module unittest2 >= 0.6} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-docutils Requires: python-lockfile >= 0.10 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %ifpython2 Provides: %{oldpython}-daemon = %{version} @@ -62,13 +61,14 @@ process environment for the program; use the instance as a context manager to en %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec -m pytest test %files %{python_files} -%defattr(-,root,root,-) -%doc ChangeLog LICENSE.ASF-2 doc +%license LICENSE.ASF-2 +%doc ChangeLog doc %{python_sitelib}/* %changelog