cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9065) Packaging RPM: Add option for package release version, cleanup and lint
Date Thu, 26 Nov 2015 10:24:11 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15028491#comment-15028491
] 

ASF subversion and git services commented on CLOUDSTACK-9065:
-------------------------------------------------------------

Commit ad2bcc089ef118c86fedfcbfe079706bb77cdc7f in cloudstack's branch refs/heads/4.6 from
[~dahn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ad2bcc0 ]

Merge pull request #1114 from davidamorimfaria/4.6

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>


> Packaging RPM: Add option for package release version, cleanup and lint
> -----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9065
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9065
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Packaging
>    Affects Versions: 4.6.0
>            Reporter: David Amorim Faria
>            Assignee: David Amorim Faria
>            Priority: Trivial
>
> In RPM Packaging, add option for package release version.
> Also, code cleanup and some linting.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message