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

Re: RPM creation question



Mamoru Tasaka wrote:
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


Thank you for the assistance and highlighting the *rpm --showrc *command.


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