Commit 15013489c1acfcef13029efb8a23ad2dcf282a9c
1 parent
5058e2121b
Exists in
master
pck-update: always rebuild srpm when rpms are built unless --nosrpm is passed
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
plugins/pck-update.in
... | ... | @@ -1924,7 +1924,7 @@ |
1924 | 1924 | notify.debug "\ |
1925 | 1925 | filename = $filename ""\ |
1926 | 1926 | $([ -f "$filename" ] && echo "(found)" || echo "(not found)")" |
1927 | - [ -f "$filename" ] && nosrpm=1 || nosrpm=0 | |
1927 | + [ -f "$filename" -a "$build_needed" = 0 ] && nosrpm=1 | |
1928 | 1928 | |
1929 | 1929 | #if [ "$SRPM_SPECFILE_WITH_PATH" -nt "$filename" ]; then |
1930 | 1930 | # # rebuild the srpm package if the specfile has been modified |