From 0d93a4efa03b046ca98cedb2f7136d725201a2d7 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Sat, 4 Jun 2016 22:16:29 -0400 Subject: 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 --- ci/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ci') 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 -- cgit 1.2.3-korg