]> git.pld-linux.org Git - packages/dante.git/commitdiff
- use macros in %{pre,post}{,un}
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 16:30:43 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- need rebuilt rpm (with new macros.pld) to build these

Changed files:
    dante.spec -> 1.4

dante.spec

index d50f382a7201eb2a1cef3e20f21fde153c178414..6b0312606c0fe39b3f4cc637914a504fa980e46d 100644 (file)
@@ -103,12 +103,10 @@ rm -rf $RPM_BUILD_ROOT
 %postun -p /sbin/ldconfig
 
 %post server
-/sbin/chkconfig --add sockd
+NAME=sockd; %chkconfig_add
 
-%postun server
-if [ $1 = 0 ]; then
-       /sbin/chkconfig --del sockd
-fi
+%preun server
+NAME=sockd; %chkconfig_del
 
 %files
 %defattr(644,root,root,755)
This page took 0.879651 seconds and 4 git commands to generate.