Accepting request 313642 from Printing

- Fix the previous commit by using direct systemd call and ensuring we
  work even on older distros (forwarded request 313641 from scarabeus_iv)

OBS-URL: https://build.opensuse.org/request/show/313642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=128
This commit is contained in:
Dominique Leuenberger 2015-06-30 08:15:24 +00:00 committed by Git OBS Bridge
commit 847020eaf9
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Jun 25 08:00:20 UTC 2015 - tchvatal@suse.com
- Fix the previous commit by using direct systemd call and ensuring we
work even on older distros
-------------------------------------------------------------------
Mon Jun 22 12:22:42 UTC 2015 - tchvatal@suse.com
- Fix postin-without-tmpfile-creation and run %tmpfiles_create
macro on our cups.conf
-------------------------------------------------------------------
Tue Jun 9 10:07:17 CEST 2015 - jsmeix@suse.de

View File

@ -435,6 +435,8 @@ getent group ntadmin >/dev/null || %{_sbindir}/groupadd -g 71 -o -r ntadmin 2>/d
%post
%service_add_post cups.service cups-lpd@.service cups-lpd.socket cups.socket
# Use %tmpfiles_create when 13.2 is oldest in support scope
/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/cups.conf || :
%preun
%service_del_preun cups.service cups-lpd@.service cups-lpd.socket cups.socket