mkspec-wrapper.sh: -devel depends on -run

Include own -run package into dependencies for the -devel package.
This commit is contained in:
Jan Lindemann 2002-07-10 20:53:28 +00:00 committed by Jan Lindemann
commit 5992dbfd77
2 changed files with 6 additions and 2 deletions

View file

@ -60,7 +60,11 @@ fi
if [ -n "$REQUIRES" ]; then
REQUIRES_RUN=`echo $REQUIRES | sed -e 's/\([a-zA-Z-]\+\) *\([<>=]*\) *\([0-9\.-]*\)/\1-run \2 \3,/g; s/,$//'`
REQUIRES_DEVEL=`echo $REQUIRES | sed -e 's/\([a-zA-Z-]\+\) *\([<>=]*\) *\([0-9\.-]*\)/\1-devel \2 \3,/g; s/,$//'`
REQUIRES_DEVEL="
$REQUIRES_RUN,
$NAME-run-$VERSION-$RELEASE,
`echo $REQUIRES_RUN | sed -e 's/-run/-devel/g'`
"
fi
#echo "REQUIRES_RUN=\"$REQUIRES_RUN\""