Accepting request 313641 from home:scarabeus_iv:branches:Printing

- Fix the previous commit by using direct systemd call and ensuring we
  work even on older distros

OBS-URL: https://build.opensuse.org/request/show/313641
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=302
This commit is contained in:
Tomáš Chvátal 2015-06-25 08:03:07 +00:00 committed by Git OBS Bridge
parent dd365fbbe6
commit 696007e744
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -435,7 +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
%tmpfiles_create %{_tmpfilesdir}/cups.conf
# 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