pck-update.in: recreate SRPM after updating build requirements block
This commit is contained in:
parent
404ccd61a8
commit
308cd6bb7b
@ -2414,6 +2414,11 @@ ${NOTE}"$"replacing the AUTOBUILDREQ block by:""${NORM}"
|
||||
sed -i -ne "/## AUTOBUILDREQ-BEGIN/{p;r $frequires" \
|
||||
-e ':a;n;/## AUTOBUILDREQ-END/{p;b};ba};p' \
|
||||
$SRPM_SPECFILE_WITH_PATH
|
||||
notify.note "
|
||||
${NOTE}"$"recreating the SRPM""${NORM}"
|
||||
eval "\
|
||||
rpmbuild -bs $USER_RPMDEFINE_OPTS $rpmbuild_opts \
|
||||
$SRPM_SPECFILE_WITH_PATH 2>&1"
|
||||
fi
|
||||
|
||||
rm -f $frequires
|
||||
|
Loading…
Reference in New Issue
Block a user