[dkms/el6] Updated the sources to 2.2.0.3 version Fixed the post statement

Praveen K Paladugu praveenp at fedoraproject.org
Mon Jun 11 14:20:25 UTC 2012


commit ea622c4e09a96175683e81991e164fd24614beeb
Author: praveenp <praveen_paladugu at dell.com>
Date:   Mon Jun 11 09:18:53 2012 -0500

    Updated the sources to 2.2.0.3 version
    Fixed the post statement

 .gitignore |    1 +
 dkms.spec  |   19 +++++++++++--------
 sources    |    2 +-
 3 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9a4acf9..d2466cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 dkms_2.1.0.1.orig.tar.gz
+/dkms-2.2.0.3.tar.gz
diff --git a/dkms.spec b/dkms.spec
index 8d89d79..d35c5a4 100644
--- a/dkms.spec
+++ b/dkms.spec
@@ -1,16 +1,16 @@
 Summary: Dynamic Kernel Module Support Framework
 Name: dkms
-Version: 2.1.0.1
+Version: 2.2.0.3
 Release: 1%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 BuildArch: noarch
-Requires: sed gawk findutils modutils tar cpio gzip grep mktemp
+Requires: sed gawk findutils  tar cpio gzip grep mktemp kmod
 Requires: bash > 1.99
 # because Mandriva calls this package dkms-minimal
 Provides: dkms-minimal = %{version}
 URL: http://linux.dell.com/dkms
-Source0: http://linux.dell.com/dkms/permalink/dkms_%{version}.orig.tar.gz
+Source0: http://linux.dell.com/dkms/permalink/dkms-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %if 0%{?fedora}
@@ -22,9 +22,9 @@ This package contains the framework for the Dynamic
 Kernel Module Support (DKMS) method for installing
 module RPMS as originally developed by Dell.
 
-%prep
+%prep 
 
-%setup -q
+%setup -q -n dkms
 %build
 
 %triggerpostun -- %{name} < 1.90.00-1
@@ -91,8 +91,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root)
 %{_sbindir}/%{name}
 %{_localstatedir}/lib/%{name}
-/etc/init.d/dkms_autoinstaller
-%{_prefix}/lib/%{name}
+%{_initddir}/dkms_autoinstaller
+%{_libdir}/%{name}
 %{_mandir}/*/*
 %config(noreplace) %{_sysconfdir}/%{name}
 %doc sample.spec sample.conf AUTHORS COPYING README.dkms
@@ -113,7 +113,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 ||:
 
@@ -122,6 +121,10 @@ 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-1
+- Updated the sources to 2.2.0.3 version
+- removed the post statement of moving the dkms exec to dkms.old
+
 * Wed Sep  9 2009 Matt Domsch <Matt_Domsch at dell.com> - 2.1.0.1-1
 - fix mkrpm command, with thanks to Thomas Chenault.
 
diff --git a/sources b/sources
index 94f17f5..cd78f1c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-efeb0f9537ccc5de9c12b66dd0ede880  dkms_2.1.0.1.orig.tar.gz
+1bf726e59d24854cc6260522b444c8d3  dkms-2.2.0.3.tar.gz


More information about the scm-commits mailing list