]> git.pld-linux.org Git - packages/dnprogs.git/commitdiff
- more specific Requires
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 29 Jul 2003 15:12:20 +0000 (15:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dnprogs.spec -> 1.30

dnprogs.spec

index 1016c85d8570788e5d8bd09f68c37d63268e708f..239b193772234106960b5e0d19dfb38facf7985d 100644 (file)
@@ -14,14 +14,15 @@ Version:    %{dnprogs_version}
 Release:       0.1
 License:       GPL
 Group:         Networking/Utilities
-URL:           http://linux-decnet.sourceforge.net/
 Source0:       http://dl.sourceforge.net/linux-decnet/%{name}-%{version}.tar.gz
 # Source0-md5: 666e1479f60f7f0fe3bf8da3abab98bd
 #Patch0:               %{name}-1.05a-make.patch.gz
 #Patch1:               %{name}-1.05a-rc.patch.gz
+URL:           http://linux-decnet.sourceforge.net/
 ExclusiveOS:   Linux
-Prereq:                /sbin/chkconfig
-Prereq:                /sbin/ldconfig
+PreReq:                rc-scripts
+Requires(post,preun):  /sbin/chkconfig
+Requires(post):        /sbin/ldconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -88,10 +89,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %postun
 /sbin/ldconfig
-if [ $1 = 0 ]; then
-    /sbin/chkconfig --del decnet
+if [ "$1" = "0" ]; then
+       /sbin/chkconfig --del decnet
 fi
 
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc Documentation/* README NEWS dnprogs.lsm
This page took 0.076892 seconds and 4 git commands to generate.