[Pkg-jed-commit] r211 - in trunk/packages/jed-extra: debian utils
Rafael Laboissiere
rafael at costa.debian.org
Mon Nov 21 12:09:10 UTC 2005
Author: rafael
Date: 2005-11-21 12:09:10 +0000 (Mon, 21 Nov 2005)
New Revision: 211
Modified:
trunk/packages/jed-extra/debian/rules
trunk/packages/jed-extra/utils/build-from-scratch.sh
Log:
Centralized definition of the upstream version number. Both
utils/build-from-scratch.sh and debian/rules get now the information from
debian/changelog.
Modified: trunk/packages/jed-extra/debian/rules
===================================================================
--- trunk/packages/jed-extra/debian/rules 2005-11-21 11:34:27 UTC (rev 210)
+++ trunk/packages/jed-extra/debian/rules 2005-11-21 12:09:10 UTC (rev 211)
@@ -11,9 +11,10 @@
debroot = $(PWD)/debian/jed-extra
# upstream version
-VER = 2.1
+VER = $(shell perl -ne '/\(([\d.]+)-/; print $1; exit' < debian/changelog)
+
build:
# nothing to do, but required by debian policy
Modified: trunk/packages/jed-extra/utils/build-from-scratch.sh
===================================================================
--- trunk/packages/jed-extra/utils/build-from-scratch.sh 2005-11-21 11:34:27 UTC (rev 210)
+++ trunk/packages/jed-extra/utils/build-from-scratch.sh 2005-11-21 12:09:10 UTC (rev 211)
@@ -5,16 +5,16 @@
# if everything goes well, this script will result in a subdir jed-extra/
# with all needed sources and the results of a debbuild
-# upstream version
-VER=2.0
-
# Get the jed-extra files from SVN
# --------------------------------
svn co svn+ssh://svn.debian.org/svn/pkg-jed/trunk/packages/jed-extra
cd jed-extra
+# upstream version
+VER=`perl -ne '/\(([\d.]+)-/; print $1; exit' < debian/changelog`
+
# Download the upstream tarball
# -----------------------------
More information about the Pkg-jed-commit
mailing list