SPECS: audit.spec - lib64 safe

sparky at pld-linux.org sparky at pld-linux.org
Wed Sep 13 17:24:02 CEST 2006


On Wed, Sep 13, 2006 at 05:18:25PM +0200, glen wrote:
> Author: glen                         Date: Wed Sep 13 15:18:25 2006 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - lib64 safe

> -rm -r $RPM_BUILD_ROOT%{_prefix}/lib/python2.4
> +rm -r $RPM_BUILD_ROOT%{py_libdir}

NOOOOOOOOOOooooooooooooooooo!!!!!!!111!!!!!!.......

1.
$ rpm --eval "%{py_libdir}"
sh: python: not found
sh: python: not found
/lib/python

python is needed for this macro

2.
in audit-1.2.6/audisp/Makefile 

there is:
LIBDIR ?= $(PREFIX)/lib/python2.4/site-packages

so it isn't really installed in %{py_libdir}, but in some hardcoded path
(if this behaviour is broken then there should be some 'mv' in
%{with python} part)


-- 
 ____  Sparky{PI] -- Przemyslaw _  ___  _  _  ........... LANG...Pl..Ca..Es..En
/____) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// <   |  _/| |  | : JID......sparky<at>jabberes.org
(____/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mail....sparky<at>pld-linux.org


More information about the pld-devel-en mailing list