[relaxngcc] 02/03: use proper version instead of date
Timo Aaltonen
tjaalton-guest at moszumanska.debian.org
Thu Jan 9 16:48:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
tjaalton-guest pushed a commit to branch master
in repository relaxngcc.
commit fb21e7f498d14d92a57b7269421c301afe03ccb5
Author: Timo Aaltonen <tjaalton at ubuntu.com>
Date: Thu Jan 9 18:47:50 2014 +0200
use proper version instead of date
---
debian/changelog | 2 +-
debian/rules | 8 +++++---
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d8bb24f..367068c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-relaxngcc (20031218-1) UNRELEASED; urgency=low
+relaxngcc (1.12-1) UNRELEASED; urgency=low
* Initial release. (Closes: #732374)
diff --git a/debian/rules b/debian/rules
index e962b2b..7ce7717 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,9 @@ export JAVA_HOME=/usr/lib/jvm/default-java
# export CLASSPATH=
VERSION = $(shell dpkg-parsechangelog |grep Version| sed 's/.*: //;s/-.*//')
+ZVERSION = 20031218
ORIG_BDIR = relaxngcc-$(VERSION)
-ZIP = relaxngcc-$(VERSION).zip
+ZIP = relaxngcc-$(ZVERSION).zip
%:
dh $@ --with javahelper
@@ -29,8 +30,9 @@ override_dh_auto_clean:
-rm -f src/relaxngcc/javabody/*.java
get-orig-source:
- wget http://prdownloads.sourceforge.net/relaxngcc/relaxngcc-$(VERSION).zip
- unzip relaxngcc-$(VERSION).zip
+ wget http://prdownloads.sourceforge.net/relaxngcc/relaxngcc-$(ZVERSION).zip
+ unzip relaxngcc-$(ZVERSION).zip
+ mv relaxngcc-$(ZVERSION) relaxngcc-$(VERSION)
# Remove the sources that will be generated with JavaCC:
rm $(ORIG_BDIR)/src/relaxngcc/javabody/*.java
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/relaxngcc.git
More information about the pkg-java-commits
mailing list