From f814b205f54a922b80a03cd88a3cf9919d6ae90c Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mar 31 2007 02:52:41 +0000 Subject: fix libdir on ppc64 --- diff --git a/librtas.spec b/librtas.spec index 9e486dd..3d7c0ee 100644 --- a/librtas.spec +++ b/librtas.spec @@ -1,11 +1,11 @@ Summary: Libraries to provide access to RTAS calls and RTAS events. Name: librtas Version: 1.2.4 -Release: 2 +Release: 3 URL: http://librtas.ozlabs.org License: IBM Common Public License (CPL) v1.0 Group: System Environment/Libraries -Source: librtas-src-1.2.4.tar.gz +Source: http://librtas.ozlabs.org/releases/librtas-%{version}.tar.gz Patch0: librtas-1.2.4-no_syscall1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot @@ -40,7 +40,7 @@ make CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" %install -make DESTDIR=$RPM_BUILD_ROOT install +make DESTDIR=$RPM_BUILD_ROOT LIB_DIR=%{_libdir} install rm -rf $RPM_BUILD_ROOT/usr/share/doc %post -p /sbin/ldconfig @@ -53,17 +53,20 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) %doc COPYRIGHT README -/usr/lib/librtas.so.%{version} -/usr/lib/librtasevent.so.%{version} +%{_libdir}/librtas.so.%{version} +%{_libdir}/librtasevent.so.%{version} %files devel %defattr(-, root, root, -) %doc COPYRIGHT README -/usr/lib/*.so -/usr/lib/*.a +%{_libdir}/*.so +%{_libdir}/*.a /usr/include/* %changelog +* Sat Mar 31 2007 David Woodhouse - 1.2.4-3 +- Install libraries into /usr/lib64 on PPC64. + * Tue Aug 01 2006 Paul Nasrat - 1.2.4-2 - Backport syscall fix from upstream diff --git a/sources b/sources index 043f9e1..e69de29 100644 --- a/sources +++ b/sources @@ -1,2 +0,0 @@ -815efda0dda480092c8a933d3bbf89ec librtas_src-1.2-2.tar.gz -2e2a2b10ee65deb9b99f88f1502656ce librtas-src-1.2.4.tar.gz