pck-update: always rebuild srpm when rpms are built unless --nosrpm is passed

This commit is contained in:
Silvan Calarco 2014-09-27 18:37:23 +02:00
parent 5058e2121b
commit 15013489c1

View File

@ -1924,7 +1924,7 @@ $([ -f "$filename" ] && echo "(found)" || echo "(not found)")"
notify.debug "\ notify.debug "\
filename = $filename ""\ filename = $filename ""\
$([ -f "$filename" ] && echo "(found)" || echo "(not found)")" $([ -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 #if [ "$SRPM_SPECFILE_WITH_PATH" -nt "$filename" ]; then
# # rebuild the srpm package if the specfile has been modified # # rebuild the srpm package if the specfile has been modified