Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #195 Adding rpmBrpJavaRepackJars setting #199

Merged
merged 1 commit into from
Mar 26, 2014

Conversation

muuki88
Copy link
Contributor

@muuki88 muuki88 commented Mar 20, 2014

When activated with

rpmBrpJavaRepackJars := false

A the __os_install_post macro will be added to the rpmPre in Rpm setting and jar repacking is disabled.

http://swaeku.github.io/blog/2013/08/05/how-to-disable-brp-java-repack-jars-during-rpm-build/

@timperrett can you verify this?

@muuki88 muuki88 added the rpm label Mar 24, 2014
@jsuereth
Copy link
Member

OOOH, nice fix. I actually disabled this on my RPM building system directly, so I had forgotten all about redhat's crazy notion of repackaging JARs.

Personally, I think we may want this to be the default. The JAR repackaging is a serious problem IMHO for the style of thing we're distributing.

@jsuereth
Copy link
Member

BTW LGTM.

@muuki88
Copy link
Contributor Author

muuki88 commented Mar 26, 2014

The default behavior is disabling the repacking. Packaging works for me as expected. However I cannot check if the performance issue is resolved. @timperret I will merge this and if it doesn't help, we'll reopen the ticket.

muuki88 added a commit that referenced this pull request Mar 26, 2014
Fix #195 Adding rpmBrpJavaRepackJars setting
@muuki88 muuki88 merged commit 2f51893 into master Mar 26, 2014
@muuki88 muuki88 deleted the wip/rpm-build-performance branch March 26, 2014 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants