rpms/librtas/devel librtas.spec,1.7,1.8

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sat Mar 31 02:52:36 UTC 2007


Author: dwmw2

Update of /cvs/dist/rpms/librtas/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14787

Modified Files:
	librtas.spec 
Log Message:
fix libdir on ppc64


Index: librtas.spec
===================================================================
RCS file: /cvs/dist/rpms/librtas/devel/librtas.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- librtas.spec	1 Aug 2006 14:28:23 -0000	1.7
+++ librtas.spec	31 Mar 2007 02:52:34 -0000	1.8
@@ -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 @@
 
 
 %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 @@
 %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 <dwmw2 at redhat.com> - 1.2.4-3
+- Install libraries into /usr/lib64 on PPC64.
+
 * Tue Aug 01 2006 Paul Nasrat <pnasrat at redhat.com> - 1.2.4-2
 - Backport syscall fix from upstream 
 




More information about the fedora-cvs-commits mailing list