]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
rtslib-fb: corrected arch to 'noarch' 651/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 27 Feb 2017 17:37:43 +0000 (12:37 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 27 Feb 2017 17:37:43 +0000 (12:37 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
rtslib-fb/build/build_rpm

index 6616490c9980b9eb01f66645584973ee1943215a..ff993b1af9a11e5c106d4feb8db5fe6c2aea34f7 100644 (file)
@@ -37,8 +37,8 @@ chacra_endpoint="python-rtslib/${BRANCH}/${GIT_COMMIT}/${DISTRO}/${RELEASE}"
 [ "$FORCE" = true ] && chacra_flags="--force" || chacra_flags=""
 
 # push binaries to chacra
-find *.rpm | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}/$ARCH/
-PACKAGE_MANAGER_VERSION=$(rpm --queryformat '%{VERSION}-%{RELEASE}\n' -qp $(find *.rpm | egrep "\.$ARCH\.rpm" | head -1))
+find *.rpm | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}/noarch/
+PACKAGE_MANAGER_VERSION=$(rpm --queryformat '%{VERSION}-%{RELEASE}\n' -qp $(find *.rpm | egrep "\.noarch\.rpm" | head -1))
 
 # write json file with build info
 cat > $WORKSPACE/repo-extra.json << EOF