pck-update: another fix for git:9d85fd2b1d2c0d532229ff858e15d2ba3f793043

This commit is contained in:
Davide Madrisan 2011-12-17 13:26:49 +01:00
parent 41ba129cd6
commit b35f72611b

View File

@ -478,7 +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|>|\>|"`
# escape '<' and '>' characters
SPEC_OBSOLETES_ESCAPED=`echo "${SPEC_OBSOLETES[*]}" | sed "s|<|\<|;s|>|\>|"`
echo "\
SPEC_NAME=\"$SPEC_NAME\"