[dkms/el6] Falling back to using prefix/lib in place of libdir, as this is breaking the build while running on

Praveen K Paladugu praveenp at fedoraproject.org
Mon Jun 11 14:33:59 UTC 2012


commit a175fffe984e009955f4f5c0ded97e51bff8c4b8
Author: praveenp <praveen_paladugu at dell.com>
Date:   Mon Jun 11 09:33:14 2012 -0500

    Falling back to using prefix/lib in place of libdir, as this is breaking the build while running on a 64-bit host

 dkms.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/dkms.spec b/dkms.spec
index d35c5a4..8e93b8d 100644
--- a/dkms.spec
+++ b/dkms.spec
@@ -1,11 +1,11 @@
 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
-Requires: sed gawk findutils  tar cpio gzip grep mktemp kmod
+Requires: sed gawk findutils modutils tar cpio gzip grep mktemp 
 Requires: bash > 1.99
 # because Mandriva calls this package dkms-minimal
 Provides: dkms-minimal = %{version}
@@ -92,7 +92,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_sbindir}/%{name}
 %{_localstatedir}/lib/%{name}
 %{_initddir}/dkms_autoinstaller
-%{_libdir}/%{name}
+%{_prefix}/lib/%{name}
 %{_mandir}/*/*
 %config(noreplace) %{_sysconfdir}/%{name}
 %doc sample.spec sample.conf AUTHORS COPYING README.dkms
@@ -121,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-2
+- Updated the requires to modutils on el6
+- Falling back to prefix/lib in place of libdir.
+
 * 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


More information about the scm-commits mailing list