Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-binary for openSUSE:Factory checked in at 2021-09-09 23:07:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-binary (Old) and /work/SRC/openSUSE:Factory/.python-binary.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-binary" Thu Sep 9 23:07:39 2021 rev:2 rq:917709 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-binary/python-binary.changes 2019-05-20 13:17:47.791933323 +0200 +++ /work/SRC/openSUSE:Factory/.python-binary.new.1899/python-binary.changes 2021-09-09 23:08:07.256871122 +0200 @@ -1,0 +2,5 @@ +Mon Sep 6 08:08:08 UTC 2021 - pgaj...@suse.com + +- %check: use %pytest macro + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-binary.spec ++++++ --- /var/tmp/diff_new_pack.ZNCilc/_old 2021-09-09 23:08:07.744871688 +0200 +++ /var/tmp/diff_new_pack.ZNCilc/_new 2021-09-09 23:08:07.748871693 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-binary # -# 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,22 +12,23 @@ # 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-%{**}} Name: python-binary Version: 1.0.0 Release: 0 -License: MIT or Apache-2.0 +License: Apache-2.0 OR MIT Summary: Library to convert between binary and SI units -Url: https://github.com/ofek/binary +URL: https://github.com/ofek/binary Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/b/binary/binary-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-cov} # /SECTION BuildRequires: dos2unix @@ -52,7 +53,7 @@ %python_expand rm -r %{buildroot}/%{$python_sitelib}/tests/ %check -%python_exec setup.py pytest --addopts="--cov=binary.core --cov-fail-under=100 tests" +%pytest %files %{python_files} %doc README.rst