From: Andres Mejia Date: Sun, 8 Jan 2012 18:13:01 +0000 (-0500) Subject: Update libnfs-get-orig-source script to retrieve latest upstream release. X-Git-Tag: debian/1.2.0-1~8 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=375eb097658f12c4ba896cae6fe0c27ca0901c1d;p=deb_libnfs.git Update libnfs-get-orig-source script to retrieve latest upstream release. --- diff --git a/debian/libnfs-get-orig-source b/debian/libnfs-get-orig-source index af249b0..ea95ef4 100755 --- a/debian/libnfs-get-orig-source +++ b/debian/libnfs-get-orig-source @@ -3,16 +3,13 @@ # Script used to generate the orig source tarball for libnfs. LIBNFS_GIT_URL="git://github.com/sahlberg/libnfs.git" -LIBNFS_GIT_COMMIT="48593f566ff9e0fee6544ba03478cb996380eaf7" -DATE_RETRIEVED="20110724" -COMMIT_SHORT_FORM="$(echo $LIBNFS_GIT_COMMIT | \ - sed -e 's/^\([[:xdigit:]]\{,7\}\).*/\1/')" -LIBNFS_VERSION="0.0~git${DATE_RETRIEVED}.${COMMIT_SHORT_FORM}" +LIBNFS_GIT_TAG="libnfs-1.2.0" +LIBNFS_VERSION="1.2.0" +rm -rf "libnfs-${LIBNFS_VERSION}" git clone "$LIBNFS_GIT_URL" "libnfs-${LIBNFS_VERSION}" - cd "libnfs-${LIBNFS_VERSION}" -git checkout "$LIBNFS_GIT_COMMIT" +git checkout "$LIBNFS_GIT_TAG" ./bootstrap cd ..