AMVER=amanda-${VER}
fi
+# Until we get package revisioning in community.
+[ -f "PKG_REV" ] || echo "1" > PKG_REV
+
+# Substitute amanda.spec.src
+/usr/bin/perl packaging/common/substitute.pl \
+ packaging/rpm/amanda.spec.src packaging/rpm/amanda.spec
+
PKG_TARBALL=${AMVER}.tar.gz
if [ ! -f "${PKG_TARBALL}" ]; then
mkdir ${AMVER} || exit 1