Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pytlv for openSUSE:Factory checked in at 2025-06-11 16:26:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytlv (Old) and /work/SRC/openSUSE:Factory/.python-pytlv.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytlv" Wed Jun 11 16:26:18 2025 rev:2 rq:1284660 version:0.71 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytlv/python-pytlv.changes 2018-08-24 17:10:36.342535043 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytlv.new.19631/python-pytlv.changes 2025-06-11 16:28:04.296341964 +0200 @@ -1,0 +2,6 @@ +Wed Jun 11 05:56:57 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytlv.spec ++++++ --- /var/tmp/diff_new_pack.EzJeIw/_old 2025-06-11 16:28:05.320384681 +0200 +++ /var/tmp/diff_new_pack.EzJeIw/_new 2025-06-11 16:28:05.320384681 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pytlv # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,10 +12,11 @@ # 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/ +# + %define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytlv Version: 0.71 Release: 0 @@ -24,7 +25,9 @@ Group: Development/Languages/Python URL: https://github.com/timgabets/pytlv Source: https://files.pythonhosted.org/packages/source/p/pytlv/pytlv-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -38,10 +41,10 @@ sed -i -e '/^#!\//, 1d' pytlv/{TLV.py,tests.py} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -50,5 +53,6 @@ %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/pytlv +%{python_sitelib}/pytlv-%{version}.dist-info