[packages/acpica] use OPT_LDFLAGS

glen glen at pld-linux.org
Fri Mar 20 18:18:10 CET 2015


commit b3f0bd181d1b404eac1c912f552afe5fb9c42e1c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Mar 20 17:02:10 2015 +0000

    use OPT_LDFLAGS

 acpica.spec | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/acpica.spec b/acpica.spec
index 55807f4..f414d14 100644
--- a/acpica.spec
+++ b/acpica.spec
@@ -45,19 +45,15 @@ tar -x --strip-components=1 -f %{SOURCE1}
 %patch6 -p1
 %patch7 -p1
 
-%{__sed} -e "s/^LINKPROG = .*/& \$(RPMLDFLAGS)/" generate/unix/Makefile.config
-
 %build
 %{__make} \
 	HOST=_LINUX \
 	CC="%{__cc}" \
 	OPT_CFLAGS="%{rpmcflags}" \
-	RPMLDFLAGS="%{rpmcflags} %{rpmldflags}"
+	OPT_LDFLAGS="%{rpmcflags} %{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/acpica.git/commitdiff/b3f0bd181d1b404eac1c912f552afe5fb9c42e1c



More information about the pld-cvs-commit mailing list