[Pkg-virtualbox-commits] [kbuild] 05/06: Always get the latest release when importing

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Fri Jan 16 09:37:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

locutusofborg-guest pushed a commit to branch master
in repository kbuild.

commit 9668ff38e2b80670bd1884a0d0b6f7a410685f33
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Fri Jan 16 10:30:26 2015 +0100

    Always get the latest release when importing
---
 debian/changelog   | 2 ++
 debian/orig-tar.sh | 2 +-
 debian/rules       | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 796b9e8..ad1f2cf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ kbuild (1:0.1.9998svn2745+dfsg-1) UNRELEASED; urgency=medium
 
   * New upstream snapshot, patch refresh.
   * Fix get-orig-source script, to avoid the epoch bump.
+  * Tweak orig-tar.sh to always get the latest release, instead of the
+    release in d/changelog.
   [ Logan Rosen ]
   * debian/patches/12_arm64.diff: Add arm64 support to fix FTBFS.
     (Closes: #759457)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 65df6a0..35b381e 100644
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -4,7 +4,7 @@ set -e
 
 SVNROOT=$1
 VERSION=$2
-REVISION=$3
+REVISION=`svn info $SVNROOT | grep "Last Changed Rev:" | cut -d' ' -f4`
 
 DIR=kbuild-$REVISION
 TAR=../kbuild_$VERSION.orig.tar.gz
diff --git a/debian/rules b/debian/rules
index 3e4d86c..f76cac7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,4 +40,4 @@ get-orig-info:
 	svn info $(SVNROOT) | grep "Last Changed Rev:" | cut -d' ' -f4
 
 get-orig-source:
-	sh debian/orig-tar.sh $(SVNROOT) $(UPSTREAM_VERSION) $(REVISION)
+	sh debian/orig-tar.sh $(SVNROOT) $(UPSTREAM_VERSION)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/kbuild.git



More information about the Pkg-virtualbox-commits mailing list