libftdi: (tomj) 64 bit build support in the RPM spec file
authorThomas Jarosch <opensource@intra2net.com>
Mon, 7 Jul 2008 14:54:51 +0000 (14:54 +0000)
committerThomas Jarosch <opensource@intra2net.com>
Mon, 7 Jul 2008 14:54:51 +0000 (14:54 +0000)
ChangeLog
libftdi.spec.in

index 7bf78f6..235b004 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 New in 0.14
 -----------
+* 64 bit build support in the RPM spec file (Uwe Bonnes)
 * Small fix to the RPM spec file (Uwe Bonnes)
 * Grouped flow control and modem status code together (Intra2net)
 
index 345f5d9..6abdb41 100644 (file)
@@ -30,6 +30,7 @@ Header files and static libraries for libftdi
 
 PARAMS=""
 ./configure --prefix=%{prefix} \
+    --libdir=%{_libdir} \
 %if %{enable_async_mode}
     --with-async-mode \
 %endif
@@ -53,12 +54,12 @@ rm -fr $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root)
 %doc COPYING.LIB
-%{prefix}/lib/libftdi.so*
+%{_libdir}/libftdi.so*
 
 %files devel
 %defattr(-,root,root)
 %doc doc/html doc/man
-%{prefix}/bin/libftdi-config
-%{prefix}/lib/libftdi.*a
+%{_bindir}/libftdi-config
 %{prefix}/include/*.h
-%{prefix}/lib/pkgconfig/*.pc
+%{_libdir}/libftdi.*a
+%{_libdir}/pkgconfig/*.pc