[osm2pgsql] 08/11: Drop get-orig-source target, upstream moved from OSM SVN to GitHub.

Bas Couwenberg sebastic at xs4all.nl
Wed Apr 30 14:29:23 UTC 2014


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

sebastic-guest pushed a commit to branch master
in repository osm2pgsql.

commit 0affe4c0b5fbecbdb7333c357c2b7b8ea72c80b6
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed Apr 30 13:19:17 2014 +0200

    Drop get-orig-source target, upstream moved from OSM SVN to GitHub.
---
 debian/changelog |  1 +
 debian/rules     | 20 --------------------
 2 files changed, 1 insertion(+), 20 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fd7f528..eb57c38 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ osm2pgsql (0.84.0-1) UNRELEASED; urgency=low
     (closes: #732415)
   * Add gbp.conf to use pristine-tar by default.
   * Refresh patches.
+  * Drop get-orig-source target, upstream moved from OSM SVN to GitHub.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Wed, 30 Apr 2014 13:05:29 +0200
 
diff --git a/debian/rules b/debian/rules
index d6c934d..c0c60f9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,12 +4,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-SVNREPO := http://svn.openstreetmap.org/applications/utils/export/osm2pgsql
-VERSION := $(shell dpkg-parsechangelog | grep Version | cut -d' ' -f2)
-UPVER   := $(shell echo $(VERSION) | awk -F'+r' '{print $$1}')
-SVNREV  := $(shell echo $(VERSION) | awk -F'+r' '{print $$2}' | cut -d- -f1)
-SUFFIX  := +r$(SVNREV)
-
 %:
 	dh $@ \
 		--with autoreconf
@@ -18,17 +12,3 @@ override_dh_compress:
 	# clean up some naive file permissions
 	dh_compress -X.php -X.sql -X.js -X.c -X.h
 
-get-orig-source:
-	@echo Downloading osm2pgsql from ${SVNREPO}
-	svn export -r ${SVNREV} ${SVNREPO} osm2pgsql-${UPVER}${SUFFIX}/
-	@echo Removing debian/ directory
-	rm -rf osm2pgsql-${UPVER}${SUFFIX}/debian/
-	@echo Building snapshot tarball.
-	tar czvf osm2pgsql_${UPVER}${SUFFIX}.orig.tar.gz osm2pgsql-${UPVER}${SUFFIX}
-	@echo Cleaning up
-	rm -rf osm2pgsql-${UPVER}${SUFFIX}
-	@echo .
-	@echo To update debian/changelog type
-	@echo dch -v ${UPVER}${SUFFIX}-1
-	@echo .
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osm2pgsql.git



More information about the Pkg-grass-devel mailing list