diff --git a/daemonize-2.4.7.tar.gz b/daemonize-2.4.7.tar.gz deleted file mode 100644 index 60f2a33..0000000 --- a/daemonize-2.4.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c0194e861826be456c7c69985825ac7b79632d8ac7ad4cde8e12fee7971468c8 -size 8752 diff --git a/python-daemonize.changes b/python-daemonize.changes index 953e667..bd7c82b 100644 --- a/python-daemonize.changes +++ b/python-daemonize.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Mar 7 14:00:13 UTC 2019 - Tomáš Chvátal + +- Update to 2.5.0: + * no changelog +- Make sure tests are executed + ------------------------------------------------------------------- Tue Dec 4 12:47:06 UTC 2018 - Matej Cepl diff --git a/python-daemonize.spec b/python-daemonize.spec index 0f71cd8..5e51d93 100644 --- a/python-daemonize.spec +++ b/python-daemonize.spec @@ -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 diff --git a/v2.5.0.tar.gz b/v2.5.0.tar.gz new file mode 100644 index 0000000..4d53440 --- /dev/null +++ b/v2.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72ed6f7de45a50feea51017df8cf0829a903ca8b8d0b2453261dfbb1cdeb9481 +size 10126