7 if [ "x${REVISION}" = "x" ]; then
10 RPMREVISION
=".${REVISION}"
14 echo Usage
: update-pkginfo VERSION RELEASE REVISION
19 TOPDIR
=${DIRNAME}/..
/..
/
20 PACKAGINGDIR
=${TOPDIR}/packaging
22 pushd ${PACKAGINGDIR} > /dev
/null
2>&1
23 for f
in `find . -type f -name "*.tmpl"`; do
24 f2
=`echo $f | sed s/.tmpl//g`
26 sed -e s
/PVERSION
/$VERSION/g \
27 -e s
/PRELEASE
/$RELEASE/g \
28 -e s
/PREVISION
/${REVISION}/g \
29 -e s
/PRPMREV
/${RPMREVISION}/g
< $f > $f2