From 308cd6bb7b6d3957c41ab28a818045cb28b4649d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 18 Apr 2021 15:05:56 +0200 Subject: [PATCH] pck-update.in: recreate SRPM after updating build requirements block --- plugins/pck-update.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/pck-update.in b/plugins/pck-update.in index afd4dc9..e6507e1 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -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