diff options
author | Feng Pan <fpan@redhat.com> | 2016-06-04 22:16:29 -0400 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2016-06-05 04:04:26 +0000 |
commit | 0d93a4efa03b046ca98cedb2f7136d725201a2d7 (patch) | |
tree | b8120ce79fd8de37ef2f064d117dc3b0753dd5bb /ci | |
parent | ef5aadab9e33e2154789a41bf9dbb8a49b086c21 (diff) |
Fix rpm build error
- Fix common rpm spec syntax error
- Fix build.sh check for spec file changes.
Change-Id: I84b54c87356a092af480957ad4b2e93ec577539b
Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/build.sh b/ci/build.sh index dec73760..dd9f9fd1 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -121,16 +121,16 @@ if [[ "$MAKE_TARGETS" == "images" ]]; then if [[ $commit_file_list == *build/opnfv-apex-undercloud.spec* ]]; then MAKE_TARGETS+=" undercloud-rpm-check" fi - if [[ $commit_file_list == *build/opnfv-apex.spec* ]]; then + if [[ $commit_file_list == *build/opnfv-apex-common.spec* ]]; then MAKE_TARGETS+=" common-rpm-check" fi if [[ $commit_file_list == *build/opnfv-apex.spec* ]]; then MAKE_TARGETS+=" opendaylight-rpm-check" fi - if [[ $commit_file_list == *build/opnfv-apex.spec* ]]; then + if [[ $commit_file_list == *build/opnfv-apex-onos.spec* ]]; then MAKE_TARGETS+=" onos-rpm-check" fi - if [[ $commit_file_list == *build/opnfv-apex.spec* ]]; then + if [[ $commit_file_list == *build/opnfv-apex-opendaylight-sfc.spec* ]]; then MAKE_TARGETS+=" opendaylight-sfc-rpm-check" fi fi |