[CentOS] RPM creation question

Vincent Knecht vknecht at club-internet.fr
Thu Jun 12 09:59:14 UTC 2008

> Hi,
> Is there any nice way in a .spec file to tell rpmbuild not to call
> brp-java-repack-jars?  Some Web Searching indicates that most people
> just hack the script.  Is there a better way ?


  long time ago I searched for a way to disable stripping, and found
%define __spec_install_post /usr/lib/rpm/brp-compress || :
in http://svn.rpmforge.net/svn/trunk/rpms/acroread/acroread.spec
I guess that can be used too for brp-java-repack-jars...

More information about the CentOS mailing list