From 375eb097658f12c4ba896cae6fe0c27ca0901c1d Mon Sep 17 00:00:00 2001 From: Andres Mejia Date: Sun, 8 Jan 2012 13:13:01 -0500 Subject: [PATCH] Update libnfs-get-orig-source script to retrieve latest upstream release. --- debian/libnfs-get-orig-source | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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 .. -- 2.34.1