Currently kdebase.spec does some nasty trick by linking buildroot faces
-> /usr/share/faces and then linking apps/kdm/pics/users ->
../../../faces. This seems to fail for non-root (due to some obscure
"symlink-relativisation" problem).

Anyway, I tried to comment out this:

#cd %buildroot/%_datadir
#ln -s /usr/share/faces ./faces

# Link KDM images directory to faces directory
rm -fr %buildroot/%_datadir/apps/kdm/pics/users/
(
cd %buildroot/%_datadir/apps/kdm/pics
ln -s ../../../faces/ ./users
)

and it appears RPM now does not care about dangling link and correctly
includes apps/kdm/pics/users even when destination does not exist.

So it appears you do not need this trick, at least on cooker. This also
allows clean non-root build as far as I can tell.

-andrej


Reply via email to