forked from pool/python-zdaemon
Accepting request 921234 from home:pgajdos:python
- %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/921234 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zdaemon?expand=0&rev=33
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 24 07:52:41 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: use %pyunittest rpm macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 12 17:12:56 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-zdaemon
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -65,7 +65,8 @@ rm -rf src/zdaemon.egg-info
|
||||
%python_clone -a %{buildroot}%{_bindir}/zdaemon
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
pushd src
|
||||
%pyunittest discover -v
|
||||
|
||||
%post
|
||||
%python_install_alternative zdaemon
|
||||
|
||||
Reference in New Issue
Block a user