diff --git a/plugins/pck-update.in b/plugins/pck-update.in index 9a77368..5696996 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -478,6 +478,8 @@ rpm -q $USER_RPMDEFINE_OPTS --specfile --specedit $SRPM_SPECFILE_WITH_PATH \ [ "$SPEC_BUILDREQUIRES" ] || specfile.getvars -s $SPECFILE_PREPROCESSED SPEC_BUILDREQUIRES [ "$SPEC_BUILDROOT" ] || specfile.getvars -s $SPECFILE_PREPROCESSED SPEC_BUILDROOT + SPEC_OBSOLETES_ESCAPED = `echo "(${SPEC_OBSOLETES[*]})" | sed "s|<|\<|;s|>|\>|"` + echo "\ SPEC_NAME=\"$SPEC_NAME\" SPEC_VERSION=\"$SPEC_VERSION\" @@ -495,7 +497,7 @@ $(for i in `seq 1 1 ${#SPEC_LICENSE[*]}`; do echo -n "\"${SPEC_LICENSE[i-1]}\" " done)) SPEC_TARGET=(${SPEC_TARGET[*]}) -SPEC_OBSOLETES=(${SPEC_OBSOLETES[*]}) +SPEC_OBSOLETES=(${SPEC_OBSOLETES_ESCAPED[*]}) SPEC_BUILDARCH=\"$SPEC_BUILDARCH\" SPEC_BUILDROOT=\"$SPEC_BUILDROOT\" SPEC_BUILDREQUIRES=(\