Accepting request 1007091 from Printing

- Move the hplip-udev-rules requirement from hplip to hplip-hpijs.
  The main package will get it via indirect dependencies then. (forwarded request 1006950 from frispete)

OBS-URL: https://build.opensuse.org/request/show/1007091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hplip?expand=0&rev=145
This commit is contained in:
2022-10-03 11:44:12 +00:00
committed by Git OBS Bridge
2 changed files with 24 additions and 1 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Sep 29 12:58:15 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>
- Move the hplip-udev-rules requirement from hplip to hplip-hpijs.
The main package will get it via indirect dependencies then.
-------------------------------------------------------------------
Wed Sep 28 17:12:58 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>
- Split off hplip-udev-rules hplip-udev-rules so that you can install
hplip-sane only and scan as a normal user, fixes boo#1203811
-------------------------------------------------------------------
Sun Aug 7 13:06:40 UTC 2022 - ecsos <ecsos@opensuse.org>

View File

@@ -198,6 +198,7 @@ Summary: Printer drivers for HP printers and all-in-one devices
# installed from the openSUSE CDs but on our official online repository
# only hplip-1.2.3-6.7 is available which should usually also work):
Group: Hardware/Printing
Requires: %{name}-udev-rules = %{version}-%{release}
Suggests: %{name} = %{version}
# Since Nov 14 2007 ghostscript-library does no longer require /usr/bin/hpijs
# but only "Suggests hplip-hpijs" (see Novell/Suse Bugzilla bnc#341564).
@@ -249,6 +250,7 @@ Summary: SANE backends for HP scanners and all-in-one devices
# also for any other backend when the hpaio backend is enabled (e.g. "scanimage -L"):
Group: Hardware/Scanner
Requires: %{name}-hpijs = %{version}-%{release}
Requires: %{name}-udev-rules = %{version}-%{release}
# See comment in hpijs sub-package for same Suggests:
Suggests: %{name} = %{version}
Enhances: sane-backends
@@ -279,6 +281,13 @@ 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.
%package udev-rules
Summary: HPLIP udev rules
Group: Hardware/Scanner
%description udev-rules
This package provides the udev rules required to use these devices as a normal user.
%package devel
Summary: Development files for hplip
# Require the exact matching version-release of the hpijs sub-package to make sure
@@ -602,7 +611,6 @@ exit 0
%files
%config %{_sysconfdir}/xdg/autostart/hplip-systray.desktop
%{_udevrulesdir}/56-hpmud.rules
%{_bindir}/hp-align
%{_bindir}/hp-check
%{_bindir}/hp-clean
@@ -721,6 +729,9 @@ exit 0
%dir %{_sysconfdir}/sane.d/dll.d
%{_sysconfdir}/sane.d/dll.d/hpaio
%files udev-rules
%{_udevrulesdir}/56-hpmud.rules
%files devel
%{_libdir}/libhpip.so
%{_libdir}/libhpipp.so