copr: only copy srpm source when in copr build
This commit is contained in:
1 file changed
+1
-1
@@ -52,6 +52,6 @@ tar --delete \
|
||||
|
||||
gzip ${TAR_NAME}
|
||||
|
||||
if test -d ${COPR_SRPM} ; then
|
||||
if test -n "${COPR_SRPM}" ; then
|
||||
mv ${TAR_NAME}.gz $(rpm --eval '%{_sourcedir}')
|
||||
fi
|
||||
Reference in new issue
Block a user