fix libdir on ppc64
This commit is contained in:
parent
fc74ad0248
commit
f814b205f5
17
librtas.spec
17
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 <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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user