[gosmore] 09/20: Use SVN revision in package version.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat May 7 12:24:58 UTC 2016


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

sebastic pushed a commit to branch master
in repository gosmore.

commit aeda01ea21262b9e2e0937ba9eaaab4e49204e8b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat May 7 11:49:20 2016 +0200

    Use SVN revision in package version.
---
 debian/rules | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index df14bce..3a653da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,8 +11,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 #CFLAGS := -DRES_DIR='\"/usr/share/gosmore/\"'
 
 SVNREPO := http://svn.openstreetmap.org/applications/rendering/gosmore
-SVNREV := 22284
-DATE := $(shell date +%Y%m%d)
+SVNREV := 30327
 
 %:
 	dh $@ --parallel
@@ -27,14 +26,14 @@ get-orig-source:
 	dh_testdir
 	test -d ../tarballs/. || mkdir -p ../tarballs
 	@echo Downloading gosmore from ${SVNREPO}
-	svn -r $(SVNREV) --ignore-externals export ${SVNREPO} ../tarballs/gosmore-0.0.0.${DATE}
+	svn -r $(SVNREV) --ignore-externals export ${SVNREPO} ../tarballs/gosmore-0.0.0.svn${SVNREV}
 	@echo Removing debian dir
-	rm -rf ../tarballs/gosmore-0.0.0.${DATE}/debian
+	rm -rf ../tarballs/gosmore-0.0.0.svn${SVNREV}/debian
 	@echo Building snapshot tarball
-	tar czf ../tarballs/gosmore_0.0.0.${DATE}.orig.tar.gz -C ../tarballs gosmore-0.0.0.${DATE}
+	tar czf ../tarballs/gosmore_0.0.0.svn${SVNREV}.orig.tar.gz -C ../tarballs gosmore-0.0.0.svn${SVNREV}
 	@echo Cleaning up
-	rm -rf ../tarballs/gosmore-0.0.0.${DATE}
+	rm -rf ../tarballs/gosmore-0.0.0.svn${SVNREV}
 	@echo .
 	@echo To update debian/changelog type
-	@echo dch -v 0.0.0.${DATE}-1
+	@echo dch -v 0.0.0.svn${SVNREV}-1
 	@echo .

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



More information about the Pkg-grass-devel mailing list