John Kelly
-e 's/[[:space:]]+update-desktop-files([[:space:]]+|$)/ /' \
Only get rid of this if the package does not install a .desktop file, i.e. the spec has no call to the rpm macro to update such a file.
-e 's/[[:space:]]+xorg-x11-devel([[:space:]]+|$)/ /' \ -e 's/[[:space:]]+xorg-x11-libs([[:space:]]+|$)/ /' \ -e 's/[[:space:]]+xorg-x11([[:space:]]+|$)/ /'
I'd *never* remove these from any X11 program. There are systems that have no X11 installed. You'll *need* the dependency there. Also remember that SUSE builds packages in a chroot environment (a little bit like it's done when you call the 'build' script that's part of the distribution) as it's the only safe way to guarantee that only packages from a given distribution are used for building a package. Philipp