[sundials] 11/76: remove the pdf from upstream tarball

Andreas Tille tille at debian.org
Sun Feb 5 18:44:50 UTC 2017


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

tille pushed a commit to branch master
in repository sundials.

commit 8a9b4903ec340280490b5a2f65911021220b9222
Author: Sylvestre Ledru <sylvestre at debian.org>
Date:   Sat Oct 9 16:16:19 2010 +0000

    remove the pdf from upstream tarball
---
 debian/orig-tar.exclude |  2 ++
 debian/orig-tarball.sh  | 14 +++++++++++---
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/debian/orig-tar.exclude b/debian/orig-tar.exclude
new file mode 100644
index 0000000..bd98a73
--- /dev/null
+++ b/debian/orig-tar.exclude
@@ -0,0 +1,2 @@
+*.pdf
+
diff --git a/debian/orig-tarball.sh b/debian/orig-tarball.sh
index 5d21219..c71e5fa 100644
--- a/debian/orig-tarball.sh
+++ b/debian/orig-tarball.sh
@@ -3,7 +3,15 @@
 # called by uscan with '--upstream-version' <version> <file>
 PKG=sundials
 VER=$2
+echo "plop :" $3
+tar zxvf $3
+tar -c -z -f $3 -X debian/orig-tar.exclude $PKG-$VER
+rm -rf $PKG-$VER
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+    . .svn/deb-layout
+    mv $TAR $origDir
+    echo "moved $TAR to $origDir"
+fi
 
-URL=https://computation.llnl.gov/casc/sundials/download/code/$PKG-$VER.tar.gz
-
-wget $URL --output-document=../tarballs/${PKG}_$VER.orig.tar.gz
+exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sundials.git



More information about the debian-science-commits mailing list