15
0

- Update to 2.5.0:

* no changelog
- Make sure tests are executed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-daemonize?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2019-03-07 14:00:36 +00:00
committed by Git OBS Bridge
parent bf93832a2a
commit 0d285a9911
4 changed files with 21 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-daemonize
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -17,17 +17,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-daemonize
Version: 2.4.7
Version: 2.5.0
Release: 0
Summary: Python module to launch code as a daemon process
License: MIT
Group: Development/Languages/Python
URL: https://github.com/thesharp/daemonize
Source: https://files.pythonhosted.org/packages/source/d/daemonize/daemonize-%{version}.tar.gz
Source: https://github.com/thesharp/daemonize/archive/v%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: procps
BuildRequires: python-rpm-macros
BuildRequires: user(nobody)
BuildArch: noarch
%python_subpackages
@@ -38,11 +41,14 @@ daemonize is a library for writing system daemons in Python.
%setup -q -n daemonize-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v
%files %{python_files}
%license LICENSE