On Thu, 17 Feb 2005 15:14:37 -0600, Thomas Cameron <thomas.cameron@xxxxxxxxxxxxxxx> wrote: > ----- Original Message ----- > From: "Bryan O'Sullivan" <bos@xxxxxxxxxxxxxx> > To: "RPM Package Manager" <rpm-list@xxxxxxxxxx> > Sent: Thursday, February 17, 2005 3:08 PM > Subject: Re: Packaging vendor-supplied binaries - strip breaks them! > > > On Thu, 2005-02-17 at 14:42 -0600, Thomas Cameron wrote: > > > >> 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. > > > > Do this instead: > > > > %define __os_install_post /usr/lib/rpm/brp-compress > > Much appreciated, but can you explain why? I am not a big RPM guru... All > of these %define lines appear to me to call strip and/or compress. I think > I *don't* want to call them. > > What am I missing? > To make it not strip or compress at all do: %define __os_install_post %{nil} Cheers..james _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list