[Pkg-ocaml-maint-commits] [SCM] lablgl packaging branch, master, updated. debian/1.04-5-4-g8bc2af1
Mehdi Dogguy
mehdi at debian.org
Mon Feb 22 20:17:54 UTC 2010
The following commit has been merged in the master branch:
commit ece110e20c64f8030e619c6e604333a2fd91bf40
Author: Mehdi Dogguy <mehdi at debian.org>
Date: Mon Feb 22 21:07:38 2010 +0100
Fix version number in META
The method can be judged fragile but upstream seems to have a coherent
CHANGES file, enough to be able get all versions.
diff --git a/debian/META b/debian/META.in
similarity index 91%
rename from debian/META
rename to debian/META.in
index 3f2a542..98786dc 100644
--- a/debian/META
+++ b/debian/META.in
@@ -1,4 +1,4 @@
-version="1.00"
+version="@LABLGL_VERSION@"
directory="+lablgl"
archive(byte) = "lablgl.cma"
archive(native) = "lablgl.cmxa"
diff --git a/debian/changelog b/debian/changelog
index 025ef02..786a2ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,13 @@
lablgl (1.04-6) UNRELEASED; urgency=low
+ [ Ralf Treinen ]
* Minor language corrections in package descriptions.
* Fixed spelling error in lablgl.1 manpage.
- -- Ralf Treinen <treinen at debian.org> Sat, 02 Jan 2010 17:00:16 +0100
+ [ Mehdi Dogguy ]
+ * Fix version number in META
+
+ -- Mehdi Dogguy <mehdi at debian.org> Mon, 22 Feb 2010 21:06:34 +0100
lablgl (1.04-5) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index dbc8888..7f50bbd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,9 @@ include /usr/share/ocaml/ocamlvars.mk
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+VERSION:=$(shell sed -n "s/^LablGL \(.*\):/\1/p" CHANGES | head -n 1)
+export OCAMLINIT_SED=-e 's%@LABLGL_VERSION@%$(VERSION)%g'
+
%:
dh --with ocaml $@
--
lablgl packaging
More information about the Pkg-ocaml-maint-commits
mailing list