SPECS: isight-firmware-tools.spec - fixed 32/64bit lib location is...

shadzik shadzik at pld-linux.org
Thu Mar 13 19:01:53 CET 2008


Author: shadzik                      Date: Thu Mar 13 18:01:53 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed 32/64bit lib location issues (thx glen for pointing this out)

---- Files affected:
SPECS:
   isight-firmware-tools.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/isight-firmware-tools.spec
diff -u SPECS/isight-firmware-tools.spec:1.2 SPECS/isight-firmware-tools.spec:1.3
--- SPECS/isight-firmware-tools.spec:1.2	Thu Mar 13 17:54:46 2008
+++ SPECS/isight-firmware-tools.spec	Thu Mar 13 19:01:47 2008
@@ -8,8 +8,6 @@
 Group:		Applications
 Source0:	http://bersace03.free.fr/ift/%{name}-%{version}.tar.gz
 # Source0-md5:	b8d1e80cf8d47f9aa4f683b995cd359c
-Patch0:		%{name}-Makefile.patch
-Patch1:		%{name}-udev_rules.patch
 URL:		http://bersace03.free.fr/ift/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -24,8 +22,7 @@
 
 %prep
 %setup -q
-%patch0 -p0
-%patch1 -p0
+%{__sed} -i -e 's#@udevdir@#/%{_lib}/udev#g' isight.rules.in
 
 %build
 %{__aclocal}
@@ -38,7 +35,8 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	libudevdir=/%{_lib}/udev
 
 #%find_lang %{name}
 
@@ -61,7 +59,7 @@
 %defattr(644,root,root,755)
 %doc README HOWTO AUTHORS ABOUT-NLS
 %attr(755,root,root) %{_bindir}/ift-*
-%attr(755,root,root) /lib/udev/ift-load
+%attr(755,root,root) /%{_lib}/udev/ift-load
 /etc/udev/rules.d/isight.rules
 %{_infodir}/ift-export.info.gz
 %{_infodir}/ift-extract.info.gz
@@ -74,6 +72,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008-03-13 18:01:47  shadzik
+- fixed 32/64bit lib location issues (thx glen for pointing this out)
+
 Revision 1.2  2008-03-13 16:54:46  shadzik
 - add patch1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/isight-firmware-tools.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list