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 ?
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 ?
I've just started building RPMs myself, so I'm curious ... why would you want to not call brp-java-repack-jars?
Mick
admin wrote:
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 ?
I've just started building RPMs myself, so I'm curious ... why would you want to not call brp-java-repack-jars?
Mick _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi,
I have to install a particular application "Aptana Studio - Community Edition" and this script seems to break when dealing with this. I am not sure why yet and will do some further research. But current time constraints mean I must get the package out. I am confident that ignoring this step is ok in this case as installing the software manually is just un-tarring it into a directory.
For those who care - On FC6 / CentOS 4 - To Disable this you must hack the script as far as I can tell. I am told that on New Versions of Fedora (and I assume CentOS 5) that you can add %__jar_repack %{nil} to the top of the spec file.
Have a nice day :)
Clint Dilks wrote:
For those who care
- On FC6 / CentOS 4 - To Disable this you must hack the script as far as
I can tell. I am told that on New Versions of Fedora (and I assume CentOS 5) that you can add %__jar_repack %{nil} to the top of the spec file.
Why cant you twiddle with __os_install_post ?
Karanbir Singh wrote:
Clint Dilks wrote:
For those who care
- On FC6 / CentOS 4 - To Disable this you must hack the script as far
as I can tell. I am told that on New Versions of Fedora (and I assume CentOS 5) that you can add %__jar_repack %{nil} to the top of the spec file.
Why cant you twiddle with __os_install_post ?
I tried this, and it didn't work at all as I expected. I know that you build significantly more RPMS than I do and that they will be of better quality than mine. So if this is the prefered strategy then I sit corrected and appologies for an confusion I have bought to the list :)
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 ?
Hello,
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...