diff --git a/plugins/pck-update.in b/plugins/pck-update.in index 177341e..72ce928 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -695,6 +695,8 @@ missing at least one \`%defattr' directive" local token tokens sed -n '/%build/,/%install/p' $specfile | \ while read -a tokens; do + # ignore comments + [[ "${tokens[0]}" =~ ^\# ]] && continue for token in ${tokens[*]}; do case "$token" in configure|./configure)