This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository libhmsbeagle.
commit 46e927954923a5dc577272946e6e9bc7865a8382 Author: Andreas Tille <[email protected]> Date: Thu Jan 28 08:33:00 2016 +0100 debian/get-orig-source: Set date stamped version automatically --- debian/changelog | 5 +++-- debian/get-orig-source | 9 +++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2b4b442..90ce0f7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ -libhmsbeagle (2.1.2+20150820-1) UNRELEASED; urgency=medium +libhmsbeagle (2.1.2+20151220-1) UNRELEASED; urgency=medium - * New upstream version + * New upstream Git checkout + * debian/get-orig-source: Set date stamped version automatically * Build using OpenCL * Update URLs from GoogleCode to GitHub * Add missing libhmsbeagle1v5 dependency to -java package diff --git a/debian/get-orig-source b/debian/get-orig-source index 6807016..5227cb9 100755 --- a/debian/get-orig-source +++ b/debian/get-orig-source @@ -5,15 +5,20 @@ COMPRESS=xz set -e NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` -VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'` +MVERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/^\([0-9\.]\+\)[+~][-0-9]\+$/\1/'` -TARDIR=${NAME}-${VERSION} mkdir -p ../tarballs cd ../tarballs # need to clean up the tarballs dir first because upstream tarball might # contain a directory with unpredictable name rm -rf * git clone --quiet https://github.com/beagle-dev/beagle-lib.git +cd beagle-lib +VERSION=${MVERSION}+`date -d @$(git show --format="%at") +%Y%m%d` +# for esthetical reasons set file timestamps (if git-restore-mtime is installed) +git restore-mtime || true +cd .. +TARDIR=${NAME}-${VERSION} mv beagle-lib ${TARDIR} rm -rf ${TARDIR}/.git # remove binaries -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libhmsbeagle.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
