Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hplip for openSUSE:Factory checked in at 2025-08-16 20:37:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hplip (Old) and /work/SRC/openSUSE:Factory/.hplip.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hplip" Sat Aug 16 20:37:09 2025 rev:163 rq:1299861 version:3.25.2 Changes: -------- --- /work/SRC/openSUSE:Factory/hplip/hplip.changes 2025-07-24 18:34:42.230754027 +0200 +++ /work/SRC/openSUSE:Factory/.hplip.new.1085/hplip.changes 2025-08-16 20:38:46.890743129 +0200 @@ -1,0 +2,6 @@ +Thu Aug 14 19:57:37 UTC 2025 - Lubos Kocman <lubos.koc...@suse.com> + +- Disable hp-scan-utils on Leap 16.0 + Leap does not want to ship scikit-image -> python-pandas + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hplip.spec ++++++ --- /var/tmp/diff_new_pack.TzSzTi/_old 2025-08-16 20:38:47.870783710 +0200 +++ /var/tmp/diff_new_pack.TzSzTi/_new 2025-08-16 20:38:47.874783876 +0200 @@ -1,7 +1,7 @@ # # spec file for package hplip # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,6 +36,14 @@ %global make_install make DESTDIR=%{buildroot} V=1 install %endif +%if 0%{?suse_version} == 1600 && 0%{?is_opensuse} +# Build without scanning support +%bcond_with scan_utils +%else +# Build scanning support +%bcond_without scan_utils +%endif + %if 0%{use_qt5} %global config_qt_opts --disable-qt4 --enable-qt5 %global requires_qt %{pymod qt5} @@ -211,6 +219,12 @@ # This causes the "postscriptdriver" provides to be generated. # To avoid that, put "Ignore: cups-devel: cups-rpm-helper in the prjconf. +# Make sure we obsolete old scan-utils +# in case we're built without scan_utils +%if %{without scan_utils} +Obsoletes: hplip-scan-utils < %{version} +%endif + %description The Hewlett-Packard Linux Imaging and Printing project (HPLIP) provides a unified single and multifunction connectivity solution for HP @@ -309,6 +323,7 @@ This package includes the backend driver for scanning with HP scanners and all-in-one devices using SANE tools like xsane or scanimage. +%if %{with scan_utils} %package scan-utils Summary: HPLIP scanning frontends hp-scan and hp-uiscan # SLE does not provide python-pillow (PIL) (bsc#1131613) @@ -327,6 +342,7 @@ This package provides the "hp-scan" and "hp-uiscan" frontend utilities. These utilities are alternatives to the SANE frontends "xsane" and "scanimage". They expose some advanced features of certain HP scanner models. +%endif %package udev-rules Summary: HPLIP udev rules @@ -639,6 +655,15 @@ # so that fdupes can only run for specific directories where linking files is safe: %fdupes -s %{buildroot}%{_datadir}/hplip/data/images +# Ensure we have no unpackaged files if build +# without scan-util +%if !%{with scan_utils} +rm -f %{buildroot}%{_bindir}/hp-scan +rm -f %{buildroot}%{_bindir}/hp-uiscan +rm -f %{buildroot}%{python_sitearch}/scanext.so +rm -f %{buildroot}%{_datadir}/applications/hp-uiscan.desktop +%endif + %post -p /bin/bash %udev_rules_update %desktop_database_post @@ -733,6 +758,7 @@ %exclude %{_datadir}/hplip/base/__pycache__/imageprocessing.* %exclude %{_datadir}/hplip/%{ui_dir}/__pycache__/scandialog.* +%if %{with scan_utils} # The scanning utils depend on PIL and python3-scikit-image, # which are not available in SLE %files scan-utils @@ -751,6 +777,7 @@ %{_datadir}/hplip/base/__pycache__/imageprocessing.* %{_datadir}/hplip/%{ui_dir}/__pycache__/scandialog.* %endif +%endif %files hpijs %config %{_sysconfdir}/hp/