[qmapshack] 07/18: Repack upstream tarball to exclude .hg directory.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Mar 7 14:36:17 UTC 2015


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

sebastic pushed a commit to branch master
in repository qmapshack.

commit fb82fe22ce799fa83a021259231c8ef15743909b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Mar 7 13:33:11 2015 +0100

    Repack upstream tarball to exclude .hg directory.
---
 CPackConfig.cmake | 2 +-
 debian/changelog  | 1 +
 debian/copyright  | 1 +
 debian/watch      | 7 +++++--
 4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/CPackConfig.cmake b/CPackConfig.cmake
index b03b04b..4b0a063 100644
--- a/CPackConfig.cmake
+++ b/CPackConfig.cmake
@@ -18,7 +18,7 @@ set(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSI
 
 ### source package settings
 set(CPACK_SOURCE_GENERATOR "TGZ")
-set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build/;tags;cscope.*;[.]rej$;[.]orig$;svn-commit[.]")
+set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;[.]hg/;.gitignore;/build/;tags;cscope.*;[.]rej$;[.]orig$;svn-commit[.]")
 set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
 
 include(CPack)
diff --git a/debian/changelog b/debian/changelog
index eb8f41d..7726798 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ qmapshack (1.0.0-1) UNRELEASED; urgency=medium
   * Enable verbose makefiles.
   * Remove unused variables in rules file.
   * Add upstream metadata.
+  * Repack upstream tarball to exclude .hg directory.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 07 Mar 2015 13:20:57 +0100
 
diff --git a/debian/copyright b/debian/copyright
index aa4224c..e4d0997 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,7 @@ Upstream-Name: QMapShack
 Upstream-Contact: Oliver Eichler <oliver.eichler at gmx.de>
 Source: https://bitbucket.org/maproom/qmapshack/downloads
 Copyright: 2006-2014, Oliver Eichler <oliver.eichler at gmx.de>
+Files-Excluded: .hg/*
 
 Files: *
 Copyright:
diff --git a/debian/watch b/debian/watch
index e54c07c..9369248 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,6 @@
 version=3
-opts=dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
-https://bitbucket.org/maproom/qmapshack/downloads/qmapshack-([\d.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+opts=dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
+repacksuffix=+ds \
+https://bitbucket.org/maproom/qmapshack/downloads/ \
+qmapshack-([\d.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list