[Pkg-scicomp-devel] glpk/trunk/debian
Rafael Laboissiere
rafael at debian.org
Sun Apr 1 21:50:27 UTC 2007
SVN commit 1488 by rafael:
Debian release glpk_4.15-5
M +9 -0 glpk/trunk/debian/changelog
M +1 -1 glpk/trunk/debian/control
M +1 -1 glpk/trunk/debian/glpk-utils.lintian
M +8 -2 glpk/trunk/debian/rules
--- glpk/trunk/debian/changelog #1487:1488
@@ -1,3 +1,12 @@
+glpk (4.15-5) unstable; urgency=low
+
+ * debian/control: Removed trailing comma in Maintainer field
+ * debian/glpk-utils.lintian: Use replaceable strings @DEBVERSION@ and
+ @UVERSION@ instead of hard-coding the version numbers
+ * debian/rules: Replace the strings above
+
+ -- Rafael Laboissiere <rafael at debian.org> Sun, 1 Apr 2007 22:43:07 +0200
+
glpk (4.15-4) unstable; urgency=low
* Uploaded to unstable, now that the package came out of the NEW queue
--- glpk/trunk/debian/control #1487:1488
@@ -1,7 +1,7 @@
Source: glpk
Section: math
Priority: optional
-Maintainer: Debian Scientific Computation Team <pkg-scicomp-devel at lists.alioth.debian.org>,
+Maintainer: Debian Scientific Computation Team <pkg-scicomp-devel at lists.alioth.debian.org>
Uploaders: Falk Hueffner <falk at debian.org>,
Rafael Laboissiere <rafael at debian.org>
Build-Depends: debhelper (>> 5.0.0), cdbs, libgmp3-dev
--- glpk/trunk/debian/glpk-utils.lintian #1487:1488
@@ -1,2 +1,2 @@
-glpk-utils: package-has-a-duplicate-relation depends: libglpk0 (= 4.15-4), libglpk0 (>= 4.15)
+glpk-utils: package-has-a-duplicate-relation depends: libglpk0 (= @DEBVERSION@), libglpk0 (>= @UVERSION@)
--- glpk/trunk/debian/rules #1487:1488
@@ -6,12 +6,18 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
+debversion = $(shell perl -ne '/([\d.-]+)/;print "$$1"; last' \
+ debian/changelog)
+uversion = $(shell echo $(debversion) | sed "s/-.*//")
+
DEB_MAKE_CHECK_TARGET = check
-DEB_DH_MAKESHLIBS_ARGS_libglpk0 = -V"libglpk0 (>= 4.15)"
+DEB_DH_MAKESHLIBS_ARGS_libglpk0 = -V"libglpk0 (>= $(uversion))"
debdir = $(CURDIR)/debian
deblin = $(debdir)/glpk-utils/usr/share/lintian/overrides
install/glpk-utils::
mkdir -p $(deblin)
- install -p -m 0644 $(debdir)/glpk-utils.lintian $(deblin)/glpk-utils
+ sed "s/@DEBVERSION@/$(debversion)/;s/@UVERSION@/$(uversion)/" \
+ < $(debdir)/glpk-utils.lintian \
+ > $(deblin)/glpk-utils
More information about the Pkg-scicomp-devel
mailing list