]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
Refresh of rpm-fixes
authorSean Hefty <sean.hefty@intel.com>
Thu, 31 May 2012 21:42:18 +0000 (14:42 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 31 May 2012 21:42:18 +0000 (14:42 -0700)
ibacm.spec.in

index 0c12aa1ce3eb7f3f95cada1d9de5a00aa74b5a94..138d2dce6d3cecfa5c9299eb0d6331480749db82 100644 (file)
@@ -10,8 +10,8 @@ Source0: http://www.openfabrics.org/downloads/rdmacm/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: libibverbs-devel >= 1.1-1, autoconf, libtool, libibumad-devel
-Requires(post): chkconfig
-Requires(preun): chkconfig
+Requires(post): /sbin/chkconfig
+Requires(preun): /sbin/chkconfig
 ExcludeArch: s390, s390x
 
 %description
@@ -27,6 +27,7 @@ library knows how to talk directly to the %{name} daemon to retrieve data.
 %package devel
 Summary: Headers file needed when building apps to talk directly to ibacm.
 Requires: %{name} = %{version}-%{release}
+Group: System Environment/Daemons
 
 %description devel
 Most applications do not need to know how to talk directly to the ibacm
@@ -60,11 +61,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 if [ $1 = 1 ]; then
-       chkconfig --add %{name}
+       /sbin/chkconfig --add %{name}
 fi
 %preun
 if [ $1 = 1 ]; then
-       chkconfig --del %{name}
+       /sbin/chkconfig --del %{name}
 fi
 
 %files