[SCM] sord/master: Remove old utils to get the code from the SVN repository.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed May 25 22:23:57 UTC 2011


The following commit has been merged in the master branch:
commit 68492b96de59360ed6d3249db6f2d23c551b5b60
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu May 26 00:23:21 2011 +0200

    Remove old utils to get the code from the SVN repository.

diff --git a/debian/get-svn-source.sh b/debian/get-svn-source.sh
deleted file mode 100755
index cebe233..0000000
--- a/debian/get-svn-source.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-set -e
-
-BASE_REL=$(dpkg-parsechangelog 2>/dev/null | sed -ne 's/Version: \([0-9]\)~.*/\1/p')
-OLDDIR=${PWD}
-GOS_DIR=${OLDDIR}/get-orig-source
-SVN_COMMIT='svn log http://svn.drobilla.net/sord/trunk/ -l 1 | sed -ne "s/r\([0-9]\+\).*/\1/p"'
-
-if [ -z ${BASE_REL} ]; then
-	echo 'Please run this script from the sources root directory.'
-	exit 1
-fi
-
-
-rm -rf ${GOS_DIR}
-mkdir ${GOS_DIR} && cd ${GOS_DIR}
-SORD_SVN_COMMIT=$(eval "${SVN_COMMIT}")
-svn export -r ${SORD_SVN_COMMIT} http://svn.drobilla.net/sord/trunk/ \
-	sord-${BASE_REL}~svn${SORD_SVN_COMMIT}
-cd sord-${BASE_REL}~svn${SORD_SVN_COMMIT}/
-cd .. && tar cjf \
-	${OLDDIR}/sord_${BASE_REL}~svn${SORD_SVN_COMMIT}.orig.tar.bz2 \
-	sord-${BASE_REL}~svn${SORD_SVN_COMMIT} --exclude-vcs
-rm -rf ${GOS_DIR}
diff --git a/debian/rules b/debian/rules
index 8378d93..279cf07 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,3 @@ override_dh_auto_install:
 
 override_dh_strip:
 	dh_strip --dbg-package=sord-dbg
-
-get-orig-source:
-	debian/get-svn-source.sh

-- 
sord packaging



More information about the pkg-multimedia-commits mailing list