copr: only copy srpm source when in copr build

This commit is contained in:
Wez Furlong committed 2023-10-02 18:59:13 -07:00
1 parent 99ea35f6f0
commit fafd322226
1 file changed
+1 -1
+1 -1
View File
@@ -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