RPM creation question

Clint Dilks clintd at scms.waikato.ac.nz
Thu Jun 12 23:09:40 UTC 2008


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.




More information about the users mailing list