Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jsmin for openSUSE:Factory checked in at 2021-06-01 10:35:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jsmin (Old) and /work/SRC/openSUSE:Factory/.python-jsmin.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsmin" Tue Jun 1 10:35:20 2021 rev:2 rq:895288 version:2.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jsmin/python-jsmin.changes 2019-12-02 11:38:13.846459285 +0100 +++ /work/SRC/openSUSE:Factory/.python-jsmin.new.1898/python-jsmin.changes 2021-06-01 10:35:54.372654147 +0200 @@ -1,0 +2,5 @@ +Tue May 25 07:00:00 UTC 2021 - pgaj...@suse.com + +- %check: use %pyunittest rpm macro + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jsmin.spec ++++++ --- /var/tmp/diff_new_pack.VLZ7iy/_old 2021-06-01 10:35:54.936655107 +0200 +++ /var/tmp/diff_new_pack.VLZ7iy/_new 2021-06-01 10:35:54.936655107 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-jsmin # -# 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,7 +12,8 @@ # 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-%{**}} @@ -21,13 +22,13 @@ Release: 0 License: MIT Summary: JavaScript minifier -Url: https://github.com/tikitu/jsmin/ +URL: https://github.com/tikitu/jsmin/ Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/j/jsmin/jsmin-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -44,8 +45,9 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} + %check -%python_exec setup.py test +%pyunittest discover -v jsmin/ %files %{python_files} %doc CHANGELOG.txt README.rst