fix libdir on ppc64

This commit is contained in:
David Woodhouse 2007-03-31 02:52:41 +00:00
parent fc74ad0248
commit f814b205f5
2 changed files with 10 additions and 9 deletions

View File

@ -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 <dwmw2@redhat.com> - 1.2.4-3
- Install libraries into /usr/lib64 on PPC64.
* Tue Aug 01 2006 Paul Nasrat <pnasrat@redhat.com> - 1.2.4-2
- Backport syscall fix from upstream

View File

@ -1,2 +0,0 @@
815efda0dda480092c8a933d3bbf89ec librtas_src-1.2-2.tar.gz
2e2a2b10ee65deb9b99f88f1502656ce librtas-src-1.2.4.tar.gz