On Sun, Feb 17, 2002 at 07:00:33PM +0100, Rainer Koschnick wrote: > Hello,
Hi, > is it possible to disable the file stripping from within a .spec file? Yes. I had to figure this out just a week or two ago when I was debugging Nautilus and GnomeVFS. > I need to make a debug build of galeon and when I rebuild the package, > all files get stripped before they get packaged. Yup. > I modified /usr/lib/brp-mandrake for that cause: > > if [ -x /usr/share/spec-helper/spec-helper ];then > /usr/share/spec-helper/spec-helper -s (-s = don't strip) That is what I did at first pass, but if you look a little deeper into it, giving spec-helper the -s flag simply sets the environment variable "DONT_STRIP=1". You can do just the same in your spec file. Just put: export DONT_STRIP=1 at the start of the %install section and it won't strip the files. b. -- Brian J. Murrell
