Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-diffimg for openSUSE:Factory checked in at 2025-05-09 18:49:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-diffimg (Old) and /work/SRC/openSUSE:Factory/.python-diffimg.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-diffimg" Fri May 9 18:49:45 2025 rev:2 rq:1275975 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-diffimg/python-diffimg.changes 2021-04-22 18:06:04.926706538 +0200 +++ /work/SRC/openSUSE:Factory/.python-diffimg.new.30101/python-diffimg.changes 2025-05-09 18:52:36.044180064 +0200 @@ -1,0 +2,5 @@ +Fri May 9 05:08:45 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyproject macros. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-diffimg.spec ++++++ --- /var/tmp/diff_new_pack.u9DO9b/_old 2025-05-09 18:52:36.548201030 +0200 +++ /var/tmp/diff_new_pack.u9DO9b/_new 2025-05-09 18:52:36.548201030 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-diffimg # -# Copyright (c) 2021 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 @@ -26,9 +26,11 @@ Source0: https://files.pythonhosted.org/packages/source/d/diffimg/diffimg-%{version}.tar.gz # License not bundled with tarball; download from github directly Source1: https://raw.githubusercontent.com/nicolashahn/diffimg/master/LICENSE.txt -BuildRequires: python-rpm-macros +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-Pillow >= 4.3 BuildArch: noarch %python_subpackages @@ -42,10 +44,10 @@ sed -Ei "1{/^#!\/usr\/bin\/env python/d}" diffimg/__main__.py diffimg/test.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # Missing benchmark images needed for tests @@ -55,6 +57,6 @@ %files %{python_files} %license LICENSE.txt %doc README.md -%{python_sitelib}/%{modname}/ -%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/ +%{python_sitelib}/%{modname} +%{python_sitelib}/%{modname}-%{version}.dist-info