[Crash-utility] crash-extensions rpm

Michael Holzheu holzheu at linux.vnet.ibm.com
Fri Feb 13 10:27:55 UTC 2009


Hi Dave,

Am Donnerstag, den 12.02.2009, 10:30 -0500 schrieb Dave Anderson:
> Although this change will only be reflected in the upstream src.rpm file
> on my people site, there is sort of a precedent in RHEL5.  There is a RHEL5
> ppc64 Cell/B.E. SPU "crash-spu-commands" package, which is a standalone crash
> extension package, and which puts its .so file in /usr/lib64/crash/extensions:
> 
>   $ rpm -qpl crash-spu-commands-1.1-1.ppc64.rpm
>   /usr/lib64/crash/extensions/spu.so
>   /usr/share/doc/crash-spu-commands-1.1
>   /usr/share/doc/crash-spu-commands-1.1/COPYING
>   $
> 
> So its .spec file has this:
> 
>   %install
>   mkdir -p %{buildroot}%{_libdir}/crash/extensions/
>   cp %{_builddir}/%{name}-%{version}/spu.so %{buildroot}%{_libdir}/crash/extensions/
> 
> and this:
> 
>   %files
>   %defattr(-,root,root)
>   %{_libdir}/crash/extensions/spu.so
>   %doc COPYING
> 
> That should work for you right, i.e., changing your "/usr/lib" references
> to %{_libdir}?

"%{_libdir}/crash/extensions/" is ok for me!

Michael




More information about the Crash-utility mailing list