[qmapshack] 01/01: Improved way of creating orig tarball.
Jaromír Mikeš
mira-guest at moszumanska.debian.org
Tue Aug 5 21:07:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
mira-guest pushed a commit to branch master
in repository qmapshack.
commit e8e5663853c66fa29d241da7bd78124aa046b8d2
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Tue Aug 5 23:07:04 2014 +0200
Improved way of creating orig tarball.
---
debian/copyright | 1 +
debian/rules | 11 ++---------
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/debian/copyright b/debian/copyright
index eb7f47b..51b0d31 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/wiki/Home
Copyright: 2006-2014 Oliver Eichler <oliver.eichler at gmx.de>
+Files-Excluded: .hg/*
Files: *
Copyright:
diff --git a/debian/rules b/debian/rules
index 7024230..136b60a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,13 +13,6 @@ pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
get-orig-source:
# When this bug will be fixed uscan will be used again
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749225
-# uscan --noconf --force-download --rename --debug --destdir=.
wget https://bitbucket.org/maproom/qmapshack/downloads/$(pkg)-$(upstream_version).tar.gz
- mv $(pkg)-$(upstream_version).tar.gz $(pkg)_$(upstream_version).orig.tar.gz
- tar -xf $(pkg)_$(upstream_version).orig.tar.gz
- mv $(pkg)-$(upstream_version) $(pkg)-$(dfsg_version)
-# find $(pkg)-$(dfsg_version)/ -name '.hg' -delete
- rm -R $(pkg)-$(dfsg_version)/.hg
- tar cf $(pkg)_$(dfsg_version).orig.tar $(pkg)-$(dfsg_version)
- gzip $(pkg)_$(dfsg_version).orig.tar
- rm -rf $(pkg)-$(dfsg_version)
+ mk-origtargz --repack --compress xz $(pkg)-$(upstream_version).tar.gz
+ mv $(pkg)-$(upstream_version).tar.gz ../$(pkg)-$(upstream_version).tar.gz
--
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