[imposm] 12/27: Repack upstream tarball to exclude .egg-info directory.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon Aug 31 17:47:28 UTC 2015


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

sebastic pushed a commit to branch master
in repository imposm.

commit f51a9c6a6be4c7e380761cff05c960cf648c26d8
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Aug 31 13:39:07 2015 +0200

    Repack upstream tarball to exclude .egg-info directory.
---
 debian/changelog | 1 +
 debian/clean     | 5 -----
 debian/copyright | 3 +++
 debian/watch     | 3 ++-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 045cef8..d5a529c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ imposm (2.6.0-1) UNRELEASED; urgency=medium
   * Drop 00-fix_sql_path.patch, applied upstream.
   * Use pybuild buildsystem and enable parallel builds.
   * Add upstream metadata.
+  * Repack upstream tarball to exclude .egg-info directory.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 31 Aug 2015 13:15:19 +0200
 
diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index 68e9247..0000000
--- a/debian/clean
+++ /dev/null
@@ -1,5 +0,0 @@
-#imposm/cache/internal.pb.cc
-#imposm/cache/internal.pb.h
-#imposm/cache/tc.c
-imposm.egg-info/PKG-INFO
-
diff --git a/debian/copyright b/debian/copyright
index 1db60fb..53fe91e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,9 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
 Upstream-Name: Imposm
 Upstream-Contact: Oliver Tonnhofer <olt at omniscale.de>
 Source: http://pypi.debian.net/imposm/
+Comment: The upstream sources are repacked to excluded the imposm.egg-info
+ directory that is automatically removed by dh_clean.
+Files-Excluded: imposm.egg-info/*
 
 Files: *
 Copyright: 2011, Omniscale <http://omniscale.com>
diff --git a/debian/watch b/debian/watch
index f68ebc6..d4fdbc8 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,6 @@
 version=3
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
-uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/ \
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+repacksuffix=+ds \
 http://pypi.debian.net/imposm/imposm-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list