Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-simplegeneric for
openSUSE:Factory checked in at 2024-02-06 16:34:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-simplegeneric (Old)
and /work/SRC/openSUSE:Factory/.python-simplegeneric.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-simplegeneric"
Tue Feb 6 16:34:53 2024 rev:7 rq:1144436 version:0.8.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-simplegeneric/python-simplegeneric.changes
2018-12-07 14:39:00.310803153 +0100
+++
/work/SRC/openSUSE:Factory/.python-simplegeneric.new.1815/python-simplegeneric.changes
2024-02-06 16:35:42.413562661 +0100
@@ -1,0 +2,7 @@
+Tue Feb 6 04:18:54 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Add missing BuildRequires on setuptools.
+- Switch to pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-simplegeneric.spec ++++++
--- /var/tmp/diff_new_pack.wil8Gk/_old 2024-02-06 16:35:43.109587840 +0100
+++ /var/tmp/diff_new_pack.wil8Gk/_new 2024-02-06 16:35:43.109587840 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-simplegeneric
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,16 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-simplegeneric
Version: 0.8.1
Release: 0
Summary: Simple generic functions (similar to Python's own len(),
pickle.dump(), etc)
License: ZPL-2.1
-Group: Development/Languages/Python
URL: http://cheeseshop.python.org/pypi/simplegeneric
Source:
https://files.pythonhosted.org/packages/source/s/simplegeneric/simplegeneric-%{version}.zip
-BuildRequires: %{python_module base}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
@@ -57,13 +57,15 @@
%setup -q -n simplegeneric-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.txt
-%{python_sitelib}/*
+%{python_sitelib}/simplegeneric.py
+%pycache_only %{python_sitelib}/__pycache__/simplegeneric.*.py*
+%{python_sitelib}/simplegeneric-%{version}.dist-info