RPM creation question

Mamoru Tasaka mtasaka at ioa.s.u-tokyo.ac.jp
Thu Jun 12 07:23:05 UTC 2008


Clint Dilks wrote, at 06/12/2008 03:45 PM +9:00:
> 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 ?
> 

$ rpm --showrc shows %__os_install_post calls /usr/lib/rpm/redhat/brp-java-repack-jars
if %__jar_repack macro is not defined. So just adding

%define __jar_repack %{nil}

at the top of the needed spec file or adding

%__jar_repack %{nil}

on ~/.rpmmacros should do what you want.

Regards,
Mamoru




More information about the fedora-list mailing list