From: Zack Cerza Date: Thu, 13 Feb 2025 00:10:01 +0000 (-0700) Subject: make-srpm.sh: Skip make-dist if tarball is present X-Git-Tag: testing/wip-jcollin-testing-20250826.023624-squid~6^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ad389dfbbe9025a9e864203a5e4970117fccb671;p=ceph-ci.git make-srpm.sh: Skip make-dist if tarball is present Signed-off-by: Zack Cerza (cherry picked from commit a1f607bd1be122b9491555b06f2ce3272d9c331b) --- diff --git a/make-srpm.sh b/make-srpm.sh index 1ba0ff088e0..a46372afed6 100755 --- a/make-srpm.sh +++ b/make-srpm.sh @@ -7,5 +7,5 @@ # rpmbuild --rebuild /tmp/ceph/ceph--0.el7.centos.src.rpm # -./make-dist $1 +test -f "ceph-$1.tar.bz2" || ./make-dist $1 rpmbuild -D"_sourcedir `pwd`" -D"_specdir `pwd`" -D"_srcrpmdir `pwd`" -bs ceph.spec