[redeclipse] 02/23: Set version to 1.5.0 and update get-orig-source for GitHub
Martin Werner
arand-guest at moszumanska.debian.org
Sat Apr 4 00:47:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
arand-guest pushed a commit to branch next
in repository redeclipse.
commit 8aadda72746788c0b98ad634fba69a0473ffd9d7
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date: Tue Mar 31 10:15:30 2015 +0200
Set version to 1.5.0 and update get-orig-source for GitHub
---
debian/changelog | 6 ++++++
debian/rules | 15 ++++++---------
debian/watch | 3 ++-
3 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2223d3a..423dede 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+redeclipse (1.5.0-1) UNRELEASED; urgency=medium
+
+ * New upstream release
+
+ -- Martin Erik Werner <martinerikwerner at gmail.com> Sun, 29 Mar 2015 16:02:22 +0200
+
redeclipse (1.4-5) unstable; urgency=low
* Standards-Version 3.9.5 (no changes)
diff --git a/debian/rules b/debian/rules
index 0ba9767..150caf2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,22 +33,19 @@ override_dh_builddeb:
VER=$(shell dpkg-parsechangelog | sed -rne 's/^Version: ([^-]+).*/\1/p')
DIR=redeclipse-$(VER).orig
-UTAR=redeclipse_$(VER).orig.tar.bz2
-TAR=redeclipse_$(VER).orig.tar.xz
get-orig-source:
- uscan --noconf --force-download --download-current-version --destdir=.
+ uscan --noconf --rename --force-download --download-current-version --destdir=.
rm -rf $(DIR)
- tar -xf $(UTAR)
- rm -f $(UTAR)
- mv redeclipse-$(VER)/ $(DIR)
+ tar -xf redeclipse_$(VER).orig.tar.gz
+ rm -f redeclipse_$(VER).orig.tar.gz
+ mv base-$(VER)/ $(DIR)
rm -rf $(DIR)/src/include/
rm -rf $(DIR)/src/enet/
rm -rf $(DIR)/src/xcode/
rm -rf $(DIR)/src/lib/
rm -rf $(DIR)/src/install/win/
rm -rf $(DIR)/bin/
- find $(DIR)/data/ -not -type d -not -iname 'version.cfg' -delete
- find $(DIR)/data/ -empty -delete
+ find $(DIR) -type f -iname '.git*' -delete
XZ_OPT="-6" tar --create --xz --owner root --group root --mode a+rX \
- -f $(TAR) $(DIR)
+ -f redeclipse_$(VER).orig.tar.xz $(DIR)
rm -rf $(DIR)
diff --git a/debian/watch b/debian/watch
index 46761ce..22c5fc1 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=3
-http://sf.net/redeclipse/redeclipse_([0-9\.]+)_(?:linux|nix)(?:_bsd)?.tar\.bz2
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/redeclipse-$1\.tar\.gz/ \
+ https://github.com/red-eclipse/base/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/redeclipse.git
More information about the Pkg-games-commits
mailing list