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

Fixes issue #789 where brpJavaRepack was negated #932

Merged
merged 7 commits into from
Jan 25, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1 @@
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-java-repack-jars[[:space:]].*$!!g')
%define __jar_repack %nil
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ object RpmPlugin extends AutoPlugin {
rpmConflicts := Seq.empty,
rpmSetarch := None,
rpmChangelogFile := None,
rpmBrpJavaRepackJars := true,
rpmBrpJavaRepackJars := false,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation regarding jar repackaging is now going to be outdated (and generally it's pointing to a blog post that no longer exists). Where is the documentation maintained?

rpmPretrans := None,
rpmPre := None,
rpmPost := None,
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/rpm/scriplets-no-javarepack-rpm/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ TaskKey[Unit]("check-spec-file") <<= (target, streams) map { (target, out) =>
out.log.info(spec)
assert(
spec contains
"""sed -e 's!/usr/lib[^[:space:]]*/brp-java-repack-jars[[:space:]].*$!!g'""",
"""%define __jar_repack %nil""",
"Missing java repack disabling in %pre")
out.log.success("Successfully tested rpm test file")
()
Expand Down