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

Re: strip during install



--- Mike Suchoff <mikes@in-tune.com> wrote:
> When the %install section runs, it strips executable
> programs.
> One of my files is a borland JBuilder executable
> which is an executable
> wrapper around a java jar archive - which must not
> be stripped.
> How do I turn of the strip and compress that
> normally occurs during
> %install.
> Currently, I have the executable's modes set to "-x"
> in the tar source.
> Then, in %post I change it to "+x".  But this seems
> a kludge - and requires
> the source tarball to be in a known format for
> rpmbuild.
> 
You can add to your spec file
%define __spec_install_post %{nil}

Or play with --buildpolicy option

Valery


> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/rpm-list


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/





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