[dkms/el5] Removed the post statement of moving dkms exec to dkms.old

Praveen K Paladugu praveenp at fedoraproject.org
Mon Jun 11 14:47:02 UTC 2012


commit 8b7306b7322e3ff887e0eab8e644f00468334ae7
Author: praveenp <praveen_paladugu at dell.com>
Date:   Mon Jun 11 09:46:27 2012 -0500

    Removed the post statement of moving dkms exec to dkms.old

 dkms.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/dkms.spec b/dkms.spec
index c5c89fc..956b8f2 100644
--- a/dkms.spec
+++ b/dkms.spec
@@ -1,7 +1,7 @@
 Summary: Dynamic Kernel Module Support Framework
 Name: dkms
 Version: 2.2.0.3
-Release: 1%{dist}
+Release: 2%{dist}
 License: GPLv2+
 Group: System Environment/Base
 BuildArch: noarch
@@ -116,7 +116,6 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %post
-[ -e /sbin/dkms ] && mv -f /sbin/dkms /sbin/dkms.old 2>/dev/null
 # enable on initial install
 [ $1 -lt 2 ] && /sbin/chkconfig dkms_autoinstaller on ||:
 
@@ -125,6 +124,9 @@ rm -rf $RPM_BUILD_ROOT
 [ $1 -lt 1 ] && /sbin/chkconfig dkms_autoinstaller off ||:
 
 %changelog
+* Mon Jun 11 2012 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0.3-2
+- removed the post statement of moving dkms exec to dkms.old
+
 * Tue Jan 10 2012 Sunil Gupta <Sunil_Gupta2 at dell.com> - 2.2.0.3-1
 - update to 2.2.0.3
 


More information about the scm-commits mailing list