packages: system-config-printer/system-config-printer.spec - pld-ized syste...
baggins
baggins at pld-linux.org
Sat Mar 3 18:39:07 CET 2012
Author: baggins Date: Sat Mar 3 17:39:07 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- pld-ized systemd support
---- Files affected:
packages/system-config-printer:
system-config-printer.spec (1.57 -> 1.58)
---- Diffs:
================================================================
Index: packages/system-config-printer/system-config-printer.spec
diff -u packages/system-config-printer/system-config-printer.spec:1.57 packages/system-config-printer/system-config-printer.spec:1.58
--- packages/system-config-printer/system-config-printer.spec:1.57 Sat Mar 3 18:27:23 2012
+++ packages/system-config-printer/system-config-printer.spec Sat Mar 3 18:39:02 2012
@@ -103,27 +103,14 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%if 0
%post udev
-if [ $1 -eq 1 ] ; then
- # Initial installation
- /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-fi
+%systemd_post udev-configure-printer.service
%preun udev
-if [ $1 -eq 0 ] ; then
- # Package removal, not upgrade
- /bin/systemctl --no-reload disable udev-configure-printer.service >/dev/null 2>&1 || :
- /bin/systemctl stop udev-configure-printer.service >/dev/null 2>&1 || :
-fi
+%systemd_preun udev-configure-printer.service
%postun udev
-/bin/systemctl daemon-reload >/dev/null 2>&1 || :
-if [ $1 -ge 1 ] ; then
- # Package upgrade, not uninstall
- /bin/systemctl try-restart udev-configure-printer.service >/dev/null 2>&1 || :
-fi
-%endif
+%systemd_reload
%files -f %{name}.lang
%defattr(644,root,root,755)
@@ -217,6 +204,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.58 2012/03/03 17:39:02 baggins
+- pld-ized systemd support
+
Revision 1.57 2012/03/03 17:27:23 glen
- up to 1.3.9, enable udev/systemd
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/system-config-printer/system-config-printer.spec?r1=1.57&r2=1.58&f=u
More information about the pld-cvs-commit
mailing list