Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-pseudorandom for
openSUSE:Factory checked in at 2021-06-01 10:38:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-pseudorandom (Old)
and /work/SRC/openSUSE:Factory/.python-python-pseudorandom.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-pseudorandom"
Tue Jun 1 10:38:00 2021 rev:3 rq:895936 version:0.2.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-pseudorandom/python-python-pseudorandom.changes
2019-09-16 10:51:37.291162759 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-pseudorandom.new.1898/python-python-pseudorandom.changes
2021-06-01 10:39:15.928997300 +0200
@@ -1,0 +2,5 @@
+Fri May 28 08:44:31 UTC 2021 - [email protected]
+
+- %check: use %pyunittest rpm macro
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-pseudorandom.spec ++++++
--- /var/tmp/diff_new_pack.vjtbi0/_old 2021-06-01 10:39:16.380998070 +0200
+++ /var/tmp/diff_new_pack.vjtbi0/_new 2021-06-01 10:39:16.384998077 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-python-pseudorandom
#
-# 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
@@ -12,32 +12,33 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
+%define skip_python36 1
Name: python-python-pseudorandom
Version: 0.2.2
Release: 0
-License: GPL-3.0-or-later
Summary: A Python library for generating pseudorandom condition
-Url: https://github.com/smathot/python-pseudorandom
+License: GPL-3.0-or-later
Group: Development/Languages/Python
+URL: https://github.com/smathot/python-pseudorandom
Source:
https://github.com/smathot/python-pseudorandom/archive/release/%{version}.tar.gz#/python-pseudorandom-%{version}.tar.gz
-BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
-# SECTION test requirements
-BuildRequires: %{python_module fastnumbers}
-BuildRequires: %{python_module numpy}
-BuildRequires: %{python_module python-datamatrix}
-# /SECTION
BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Requires: python-python-datamatrix
Recommends: python-fastnumbers
Recommends: python-numpy
BuildArch: noarch
-
+# SECTION test requirements
+BuildRequires: %{python_module fastnumbers}
+BuildRequires: %{python_module numpy}
+BuildRequires: %{python_module python-datamatrix}
+# /SECTION
%python_subpackages
%description
@@ -56,7 +57,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec setup.py test --test-suite=_unittest
+%pyunittest discover -v
%files %{python_files}
%license copyright COPYING