On 10 February 2011 16:13, Darragh Bailey <felix at compsoc.nuigalway.ie> wrote:
> rpm build post scripts can end up modifying file contents, I find them
> probematic when trying to package prebuilt binary files.
Good call, Darragh. It looks like the executable is getting stripped.
The spec file I dug up sets export DONT_STRIP=1, but that's nothing
the rpm scripts on
CentOS use. I could set STRIP to some dummy program, but don't know
what to use so
the code doesn't error out. Maybe "true" will work.
for f in ... ; do $STRIP -g "$f" || : ; done
The code isn't executed if RPM_BUILD_ROOT isn't set, but I believe it
generally is.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!