1925259 - %pre scriptlet enables and starts cups.service, which is unnecessary
This commit is contained in:
parent
bb45ee25cc
commit
5a340ce89d
10
hplip.spec
10
hplip.spec
@ -7,7 +7,7 @@
|
||||
Summary: HP Linux Imaging and Printing Project
|
||||
Name: hplip
|
||||
Version: 3.20.11
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2+ and MIT and BSD and IJG and Public Domain and GPLv2+ with exceptions and ISC
|
||||
|
||||
Url: https://developers.hp.com/hp-linux-imaging-and-printing
|
||||
@ -651,11 +651,6 @@ rm -f %{buildroot}%{_unitdir}/hplip-printer@.service
|
||||
# window), so don't ship the launcher yet.
|
||||
rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
||||
|
||||
# hp-setup needs to have cups service enabled and running for setups of queues
|
||||
%pre
|
||||
%{_bindir}/systemctl start cups &>/dev/null ||:
|
||||
%{_bindir}/systemctl enable cups &>/dev/null ||:
|
||||
|
||||
%post
|
||||
# timeout is to prevent possible freeze during update
|
||||
%{_bindir}/timeout 10m -k 15m %{_bindir}/hpcups-update-ppds &>/dev/null ||:
|
||||
@ -809,6 +804,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
||||
%config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio
|
||||
|
||||
%changelog
|
||||
* Fri Feb 05 2021 Zdenek Dohnal <zdohnal@redhat.com> - 3.20.11-5
|
||||
- 1925259 - %pre scriptlet enables and starts cups.service, which is unnecessary
|
||||
|
||||
* Tue Feb 02 2021 Zdenek Dohnal <zdohnal@redhat.com> - 3.20.11-4
|
||||
- 1912147 - Enable matching for '<model>_series' drivers in PPD search algorithm
|
||||
- rework optional gui messages
|
||||
|
Loading…
Reference in New Issue
Block a user