[packages/hwdata] they messed up libdir; fix that

glen glen at pld-linux.org
Sat Mar 1 04:52:05 CET 2014


commit 763acc237da45e142a844e6281be9643fd87ce46
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 1 05:51:37 2014 +0200

    they messed up libdir; fix that
    
    currently libdir used for modprobe path only, so pass as prefix/lib

 hwdata.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/hwdata.spec b/hwdata.spec
index 89617cf..8d3690e 100644
--- a/hwdata.spec
+++ b/hwdata.spec
@@ -43,15 +43,13 @@ sprzętu, takie jak bazy danych pci.ids, usb.ids, oui.txt i pnp.ids.
 %prep
 %setup -q
 
-# broken makefile
-%{__sed} -i -e 's/#include Makefile.inc/include Makefile.inc/' Makefile
-
 %build
 %configure
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
+	libdir=%{_prefix}/lib \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{modprobe_d}/dist-blacklist.conf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hwdata.git/commitdiff/763acc237da45e142a844e6281be9643fd87ce46



More information about the pld-cvs-commit mailing list