[med-svn] [rambo-k] 02/09: Download works via normal uscan

Andreas Tille tille at debian.org
Sun Nov 27 20:59:07 UTC 2016


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

tille pushed a commit to branch master
in repository rambo-k.

commit f694887cfdfc867192d727254b5bf7a7c2d269ab
Author: Andreas Tille <tille at debian.org>
Date:   Mon Nov 21 15:14:35 2016 +0100

    Download works via normal uscan
---
 debian/get-orig-source | 52 --------------------------------------------------
 debian/rules           |  2 --
 2 files changed, 54 deletions(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index f44fc88..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# if you need to repack for whatever reason you can
-# use this script via uscan or directly
-#
-# FIXME: currently the code is not conform to Debian Policy
-#        http://www.debian.org/doc/debian-policy/ch-source.html
-#        "get-orig-source (optional)"
-#        This target may be invoked in any directory, ...
-# --> currently it is assumed the script is called in the
-#     source directory featuring the debian/ dir
-
-COMPRESS=xz
-
-NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-
-VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/^\([+0-9\.r]\+\)-[0-9]\+$/\1/'`
-SVNREVISION=`echo $VERSION | sed 's/^.*+r/-r/'`
-DOWNLOADVERSION=`echo $VERSION | sed 's/^\(.*\)+r.*/\1/'`
-DOWNLOADARCHIVE=RAMBOK_${DOWNLOADVERSION}.zip
-
-set -e
-
-## NO tags no branches
-SVNURI="svn://svn.code.sf.net/p/rambok/code/"
-
-TARDIR=${NAME}-${VERSION}
-
-mkdir -p ../tarballs
-cd ../tarballs
-rm -rf ${TARDIR}
-
-# code is a mix from download archive + SVN - sorry, I discussed with upstream about this :-(
-wget --no-clobber --quiet https://qa.debian.org/watch/sf.php/rambok/${DOWNLOADARCHIVE}
-
-# svn export conserves time stamps of the files, checkout does not
-LC_ALL=C svn --quiet export ${SVNREVISION} ${SVNURI} ${TARDIR}
-
-cd ${TARDIR}
-
-rm -rf wrappers
-unzip -o -q ../${DOWNLOADARCHIVE}
-find . -name "*.jar" -delete
-find . -name "*.pdf" -delete
-find . -name ".settings" -type d | xargs -r rm -rf
-find . -name "*.java" -exec chmod 644 \{\} \;
-find . -name "*.log" -exec chmod 644 \{\} \;
-find . -name "*.txt" -exec chmod 644 \{\} \;
-find . -name ".[a-z]*" -exec chmod 644 \{\} \;
-cd ..
-
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
-rm -rf ${TARDIR}
diff --git a/debian/rules b/debian/rules
index 36f88e0..2034784 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,5 +23,3 @@ override_dh_fixperms:
 	dh_fixperms
 	chmod +x debian/$(DEBPKGNAME)/usr/share/$(DEBPKGNAME)/RAMBOK.py
 
-get-orig-source:
-	. debian/get-orig-source

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



More information about the debian-med-commit mailing list