[Pkg-jed-commit] [SCM] Debian packaging of JED branch, jo-0.99.19, updated. 1%3A0.99.18+dfsg.1-10-291-ga668a94

Jörg Sommer joerg at alea.gnuu.de
Sat Nov 21 22:27:28 UTC 2009


The following commit has been merged in the jo-0.99.19 branch:
commit 931d41f5264cf29313e323568453c72806db47db
Author: Jörg Sommer <joerg at alea.gnuu.de>
Date:   Sat Nov 21 22:11:36 2009 +0100

    rules: Remove the get-orig-source target
    
    The current get-orig-source target is difficult to maintain and the idea
    to fetch something from the svn repository doesn't sounds good. We have
    the watch file and uscan is easier. So remove it.

diff --git a/debian/changelog b/debian/changelog
index 0f18e61..fee404d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -45,6 +45,8 @@ jed (1:0.99.19~pre210-1) UNRELEASED; urgency=low
   * Removed debian/info-dir from the source, because it's not used
     anymore due to the changes in this version.
 
+  * Removed get-orig-source. We have a watch file.
+
  -- Jörg Sommer <joerg at alea.gnuu.de>  Thu, 01 Jan 1970 00:00:00 +0000
 
 jed (1:0.99.19~pre175-1) experimental; urgency=low
diff --git a/debian/rules b/debian/rules
index c9c0d10..9ebf12a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -184,7 +184,6 @@ binary-arch: build-stamp
 	dh_builddeb -a
 
 DEB_VER = ${shell perl -ne '/\((.*);/; print $$1; last' < debian/changelog}
-JED_VER = $(shell echo "$(DEB_VER)" | sed "s/-.*//")
 DIST = ${shell echo "$(DEB_VER)" | sed 's/.*) *//'}
 
 binary: binary-arch binary-indep
@@ -194,23 +193,4 @@ binary: binary-arch binary-indep
 	  echo "***********************************************************"; \
 	fi
 
-get-orig-source:
-	test -d trunk && rm -rf trunk || true
-	svn export http://svn.gna.org/svn/jed/trunk
-	REV=$$(perl -n -e 'last if /{{{ Previous Versions/;		\
-		$$v{$$1} = 1 if /^(\d+)\./; 				\
-		END { print ((sort {$$b <=> $$a} keys %v) [0]) }'	\
-		< trunk/changes.txt ) ;					\
-	PKG_VER=0.99.19~pre$$REV ;					\
-	SRC_DIR=jed-$$PKG_VER ;						\
-	if [ -d $$SRC_DIR ] ; then					\
-		echo Directory $$SRC_DIR exists, move it away! >&2 ; 	\
-		rm -rf trunk ;						\
-		exit 1 ;						\
-	else								\
-		mv trunk jed-$$PKG_VER ;				\
-		tar czf jed_$$PKG_VER.orig.tar.gz jed-$$PKG_VER ;	\
-		rm -rf jed-$$PKG_VER ;					\
-	fi
-
-.PHONY: build clean binary binary-arch binary-indep get-orig-source
+.PHONY: build clean binary binary-arch binary-indep

-- 
Debian packaging of JED



More information about the Pkg-jed-commit mailing list