[med-svn] [bowtie2] 02/04: do uscan call directly in debian/rules instead of separate script, this solves no problem with uscan but is more straightforward since get-orig-source did only uscan but nothing else

Andreas Tille tille at debian.org
Sun Oct 26 06:15:58 UTC 2014


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

tille pushed a commit to branch master
in repository bowtie2.

commit 7a7175ebed904b765dbf1c21484b3388a0b592a4
Author: Andreas Tille <tille at debian.org>
Date:   Sun Oct 26 07:13:20 2014 +0100

    do uscan call directly in debian/rules instead of separate script, this solves no problem with uscan but is more straightforward since get-orig-source did only uscan but nothing else
---
 debian/changelog       | 1 +
 debian/get-orig-source | 9 ---------
 debian/rules           | 3 ++-
 3 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a598baf..1bdd3dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ bowtie2 (2.2.4-1) UNRELEASED; urgency=medium
 
   [ Andreas Tille ]
   * New upstream version
+  * do uscan call directly in debian/rules instead of separate script
 
  -- Andreas Tille <tille at debian.org>  Sun, 26 Oct 2014 07:08:46 +0100
 
diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index 489e95b..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# script to download and repack source package of bowtie which comes in zip format
-
-mkdir -p ../tarballs
-PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-VERSION=`uscan --verbose --force-download  --repack --destdir ../tarballs| \
-    grep "Newest version on remote site is .* local version is .*" | \
-    head -n 1 | \
-    sed "s/Newest version on remote site is \([0-9\.]\+\)-source,.*/\1/"`
diff --git a/debian/rules b/debian/rules
index 88e27b8..7c6b464 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,4 +28,5 @@ override_dh_installchangelogs:
 	dh_installchangelogs NEWS
 
 get-orig-source:
-	. debian/get-orig-source
+	mkdir -p ../tarballs
+	uscan --verbose --force-download --repack --compress xz --destdir ../tarballs

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bowtie2.git



More information about the debian-med-commit mailing list