forked from pool/python-python-daemon
Remove dependency on unittest2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=17
This commit is contained in:
@@ -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
|
Tue Oct 10 13:18:27 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-daemon
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -22,9 +22,9 @@ Name: python-python-daemon
|
|||||||
Version: 2.1.2
|
Version: 2.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library to implement a well-behaved Unix daemon process
|
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
|
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
|
Source: https://files.pythonhosted.org/packages/source/p/python-daemon/python-daemon-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel >= 2.7}
|
BuildRequires: %{python_module devel >= 2.7}
|
||||||
BuildRequires: %{python_module docutils}
|
BuildRequires: %{python_module docutils}
|
||||||
@@ -34,11 +34,10 @@ BuildRequires: %{python_module pytest}
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module testscenarios >= 0.4}
|
BuildRequires: %{python_module testscenarios >= 0.4}
|
||||||
BuildRequires: %{python_module testtools}
|
BuildRequires: %{python_module testtools}
|
||||||
BuildRequires: %{python_module unittest2 >= 0.6}
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-docutils
|
Requires: python-docutils
|
||||||
Requires: python-lockfile >= 0.10
|
Requires: python-lockfile >= 0.10
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Provides: %{oldpython}-daemon = %{version}
|
Provides: %{oldpython}-daemon = %{version}
|
||||||
@@ -62,13 +61,14 @@ process environment for the program; use the instance as a context manager to en
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec -m pytest test
|
%python_exec -m pytest test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.ASF-2
|
||||||
%doc ChangeLog LICENSE.ASF-2 doc
|
%doc ChangeLog doc
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user