Packaging vendor-supplied binaries - strip breaks them!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All -

I have an ISV supplied installer that uses a shell script to place the binaries and libraries on the system and generate the config files. I snarfed all these files into a tarball and have built a package to place them onto a new system and modify the config files appropriately.

However, the binaries are corrupted after the new package is built. I think it's the /usr/lib/rpm/brp-compress or /usr/lib/rpm/brp-strip process that is doing it.

I saw http://www.redhat.com/archives/rpm-list/2001-September/msg00144.html where you can add

%define __spec_install_post /usr/lib/rpm/brp-compress
%define __spec_install_post /usr/lib/rpm/brp-strip

to your spec file, but that doesn't tell how to disable the strip from happening.

How do I make it not strip the files?

Thomas

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux