Repository navigation
CLOUDSTACK-9065: fix bug when creating packaging with noredist flag - #1114
Merged
Merged
Conversation
davidamorimcruz
referenced
this pull request
Nov 25, 2015
* lint * adjust exit codes (1 for usage, 2 for maven, 3 for rpmbuild) * variable naming consistency * add option for package release version * revise synopsis and usage
Contributor
|
LGTM on sight, let's not trust on sight as much anymore! I son't consider my lgtm here as good enough even if there are 20. I want to see people reporting having tried it succesfully. |
Contributor
|
LGTM, quickly build a RPM collection using this package.sh for centos63 |
asfgit
pushed a commit
that referenced
this pull request
Nov 26, 2015
CLOUDSTACK-9065: fix bug when creating packaging with noredist flagFixes this: ``` $ bash -x package.sh -p noredist -d centos63 (...) + rpmbuild --define '_topdir /home/david/cloudstack/packaging/../dist/rpmbuild' '-D_ver 4.6.1' '-D_rel SNAPSHOT' '-D_prerelease 1' -D_ossnoss noredist -bb SPECS/cloud.spec error: Macro %_ossnoss has empty body error: Macro %_ossnoss has empty body error: failed to stat /home/david/cloudstack/dist/rpmbuild/noredist: No such file or directory + '[' 1 -ne 0 ']' + echo 'RPM Build Failed ' RPM Build Failed + exit 3 ``` It was missing quotes around the rpmbuild argument '-D_ossnoss noredist'. * pr/1114: CLOUDSTACK-9065: fix bug when creating packaging with noredist flag Signed-off-by: Daan Hoogland <daan@onecht.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes this:
It was missing quotes around the rpmbuild argument '-D_ossnoss noredist'.