[packages/multipath-tools] - fix broken libdir detection

baggins baggins at pld-linux.org
Wed May 6 23:49:32 CEST 2015


commit 33cac718bdfc3c0cd8f067b64dafbc0bfba3666f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed May 6 23:49:10 2015 +0200

    - fix broken libdir detection

 multipath-tools.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/multipath-tools.spec b/multipath-tools.spec
index 9ce46ed..943f15d 100644
--- a/multipath-tools.spec
+++ b/multipath-tools.spec
@@ -115,6 +115,7 @@ umożliwia tworzenie partycji na odwzorowaniach wielotrasowych.
 %endif
 
 %{__make} -j1 \
+	LIB=%{_lib} \
 	OPTFLAGS="%{rpmcflags} %{rpmcppflags} -Wall -Wunused -Wstrict-prototypes %{?debug:-DDEBUG=1}" \
 	CC="%{__cc}"
 
@@ -124,6 +125,7 @@ install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig},%{_sysconfdir}/multipath
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
+	LIB=%{_lib} \
 	unitdir=%{systemdunitdir}
 
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/multipathd
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/multipath-tools.git/commitdiff/33cac718bdfc3c0cd8f067b64dafbc0bfba3666f



More information about the pld-cvs-commit mailing list