[pkg-wine-party] [SCM] Debian Wine packaging branch, master, updated. wine-1.1.21-1-373-g151db86
Ove Kaaven
ovek at arcticnet.no
Wed Jun 10 12:07:48 UTC 2009
The following commit has been merged in the master branch:
commit ced6dd61ae0aff2ca2ef6b64cd2298ee69589989
Author: Ove Kaaven <ovek at arcticnet.no>
Date: Wed Jun 10 13:22:53 2009 +0200
Added workaround to debian/maint/build-final for current git-dch not working like it's supposed to.
diff --git a/debian/maint/build-final b/debian/maint/build-final
index 220310e..102805a 100755
--- a/debian/maint/build-final
+++ b/debian/maint/build-final
@@ -1,6 +1,7 @@
#!/bin/sh
set -e
version=`dpkg-parsechangelog|sed -n 's/Version: \(.*\)/\1/p'`
+distribution=`dpkg-parsechangelog|sed -n 's/Distribution: \(.*\)/\1/p'`
# see if the version in the changelog is tagged (already built)
obj_type="`git-cat-file -t "wine-$version" 2>/dev/null`" || true
if [ -n "$obj_type" ]
@@ -13,7 +14,11 @@ else
last_version=`dpkg-parsechangelog -o1 -c1|sed -n 's/Version: \(.*\)/\1/p'`
fi
# build changelog
+if [ "$distribution" = "UNRELEASED" ]; then
+ sed -i "1,6d" debian/changelog # delete dummy entry (6 lines)
+fi
git-dch --release --auto --full --meta \
+ --new-version "$version" \
--debian-tag="wine-$last_version" \
--git-log="--first-parent"
# commit changelog
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list