summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xci/build_rpm/qemu_rpm_build.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/ci/build_rpm/qemu_rpm_build.sh b/ci/build_rpm/qemu_rpm_build.sh
index 1e87fbdd6..302d00354 100755
--- a/ci/build_rpm/qemu_rpm_build.sh
+++ b/ci/build_rpm/qemu_rpm_build.sh
@@ -54,9 +54,7 @@ qemu_rpm_build() {
}
if [ ! -d ${rpmbuild_dir} ] ; then
- yum install rpm-build -y
- mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
- mv rpmbuild $workspace
+ mkdir -p ${rpmbuild_dir}/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
fi
qemu_rpm_build