Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sane for openSUSE:Factory 
checked in at 2025-06-12 15:54:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sane (Old)
 and      /work/SRC/openSUSE:Factory/.python-sane.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sane"

Thu Jun 12 15:54:19 2025 rev:4 rq:1285067 version:2.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sane/python-sane.changes  2021-05-10 
15:41:55.416958695 +0200
+++ /work/SRC/openSUSE:Factory/.python-sane.new.19631/python-sane.changes       
2025-06-12 15:56:01.504060713 +0200
@@ -1,0 +2,5 @@
+Thu Jun 12 08:21:38 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sane.spec ++++++
--- /var/tmp/diff_new_pack.1vLjz7/_old  2025-06-12 15:56:02.060083788 +0200
+++ /var/tmp/diff_new_pack.1vLjz7/_new  2025-06-12 15:56:02.060083788 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sane
 #
-# 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
@@ -16,8 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%global skip_python2 1
 Name:           python-sane
 Version:        2.9.1
 Release:        0
@@ -27,7 +25,9 @@
 URL:            https://github.com/python-pillow/Sane
 Source:         
https://github.com/python-pillow/Sane/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  sane-backends-devel
@@ -41,15 +41,18 @@
 
 %build
 export CFLAGS="%{optflags}"
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 
 %python_expand %fdupes %{buildroot}%{$python_sitearch}/
 
 %files %{python_files}
 %doc README.rst CHANGES.rst
 %license COPYING
-%{python_sitearch}/*
+%{python_sitearch}/sane.py
+%pycache_only %{python_sitearch}/__pycache__/sane*
+%{python_sitearch}/python_sane-%{version}*-info
+%{python_sitearch}/_sane.cpython*
 

Reply via email to