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.
|
Summary: Libraries to provide access to RTAS calls and RTAS events.
|
||||||
Name: librtas
|
Name: librtas
|
||||||
Version: 1.2.4
|
Version: 1.2.4
|
||||||
Release: 2
|
Release: 3
|
||||||
URL: http://librtas.ozlabs.org
|
URL: http://librtas.ozlabs.org
|
||||||
License: IBM Common Public License (CPL) v1.0
|
License: IBM Common Public License (CPL) v1.0
|
||||||
Group: System Environment/Libraries
|
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
|
Patch0: librtas-1.2.4-no_syscall1.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
@ -40,7 +40,7 @@ make CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC"
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT LIB_DIR=%{_libdir} install
|
||||||
rm -rf $RPM_BUILD_ROOT/usr/share/doc
|
rm -rf $RPM_BUILD_ROOT/usr/share/doc
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
@ -53,17 +53,20 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%doc COPYRIGHT README
|
%doc COPYRIGHT README
|
||||||
/usr/lib/librtas.so.%{version}
|
%{_libdir}/librtas.so.%{version}
|
||||||
/usr/lib/librtasevent.so.%{version}
|
%{_libdir}/librtasevent.so.%{version}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%doc COPYRIGHT README
|
%doc COPYRIGHT README
|
||||||
/usr/lib/*.so
|
%{_libdir}/*.so
|
||||||
/usr/lib/*.a
|
%{_libdir}/*.a
|
||||||
/usr/include/*
|
/usr/include/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Aug 01 2006 Paul Nasrat <pnasrat@redhat.com> - 1.2.4-2
|
||||||
- Backport syscall fix from upstream
|
- Backport syscall fix from upstream
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user