Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-click-log for
openSUSE:Factory checked in at 2025-05-02 15:00:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-click-log (Old)
and /work/SRC/openSUSE:Factory/.python-click-log.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-click-log"
Fri May 2 15:00:13 2025 rev:5 rq:1273924 version:0.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-click-log/python-click-log.changes
2022-03-28 17:01:40.221059784 +0200
+++
/work/SRC/openSUSE:Factory/.python-click-log.new.30101/python-click-log.changes
2025-05-02 15:01:26.635105103 +0200
@@ -1,0 +2,7 @@
+Fri May 2 07:18:40 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Run the testsuite.
+- Switch to pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-click-log.spec ++++++
--- /var/tmp/diff_new_pack.U7oQFy/_old 2025-05-02 15:01:27.187128302 +0200
+++ /var/tmp/diff_new_pack.U7oQFy/_new 2025-05-02 15:01:27.191128471 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-click-log
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
#
-%{?!python_module:%define python_module() python3-%{**}}
-%global skip_python2 1
Name: python-click-log
Version: 0.4.0
Release: 0
@@ -25,9 +23,11 @@
License: MIT
URL: https://github.com/click-contrib/click-log
Source:
https://files.pythonhosted.org/packages/source/c/click-log/click-log-%{version}.tar.gz
-BuildRequires: %{python_module base}
BuildRequires: %{python_module click}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-click
@@ -43,14 +43,18 @@
rm -rf click_log.egg-info
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+%pytest
+
%files %{python_files}
%doc README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/click_log
+%{python_sitelib}/click_log-%{version}.dist-info