commit 82cb233d8e9c17aad74de180cf7f4288e9fd1ed4
Author: Jan Rękorajski <[email protected]>
Date: Thu Oct 24 14:41:47 2013 +0200
- use INSTALLROOT variable in install_kernel_modules macro
rpm.macros | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm.macros b/rpm.macros
index ab5e946..4097941 100644
--- a/rpm.macros
+++ b/rpm.macros
@@ -1833,8 +1833,8 @@ fi
\
INSTALLROOT=%{-D*}
\
[ -n "$INSTALLROOT" ] || INSTALLROOT=$RPM_BUILD_ROOT
\
\
-%define KernelD $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}
\
-%define ModprobeD $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/%{_kernel_ver} \
+%define KernelD $INSTALLROOT/lib/modules/%{_kernel_ver}
\
+%define ModprobeD $INSTALLROOT%{_sysconfdir}/modprobe.d/%{_kernel_ver} \
\
__install_kernel_modules() {
\
%{!?debug:set +x;}
\
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/23b89db2826f233dd77636932f68bbfe6e3982b7
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit