From 15013489c1acfcef13029efb8a23ad2dcf282a9c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 27 Sep 2014 18:37:23 +0200 Subject: [PATCH] pck-update: always rebuild srpm when rpms are built unless --nosrpm is passed --- plugins/pck-update.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pck-update.in b/plugins/pck-update.in index faae034..7906a59 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -1924,7 +1924,7 @@ $([ -f "$filename" ] && echo "(found)" || echo "(not found)")" notify.debug "\ filename = $filename ""\ $([ -f "$filename" ] && echo "(found)" || echo "(not found)")" - [ -f "$filename" ] && nosrpm=1 || nosrpm=0 + [ -f "$filename" -a "$build_needed" = 0 ] && nosrpm=1 #if [ "$SRPM_SPECFILE_WITH_PATH" -nt "$filename" ]; then # # rebuild the srpm package if the specfile has been modified