lintian: r237 - in trunk: debian frontend
Author: jeroen
Date: 2004-05-01 04:20:48 +0200 (Sat, 01 May 2004)
New Revision: 237
Modified:
trunk/debian/changelog
trunk/debian/control
trunk/debian/rules
trunk/frontend/lintian
Log:
debian/{control,rules}, frontent/lintian:
+ [JvW] Insert version number at package build time, no need to commit a
change to frontent/lintian on every version number change... Requires
sed version 4 at build-time.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2004-05-01 01:35:55 UTC (rev 236)
+++ trunk/debian/changelog 2004-05-01 02:20:48 UTC (rev 237)
@@ -9,11 +9,16 @@
+ [FL] Don't report shlib-with-executable-bit and
shlib-with-bad-permissions on symbolic links to such files
+ * debian/{control,rules}, frontent/lintian:
+ + [JvW] Insert version number at package build time, no need to commit a
+ change to frontent/lintian on every version number change... Requires
+ sed version 4 at build-time.
+
* testset/filenames:
+ [JvW] Fix two lintian warnings in lintian itself by touching files only
on clean target, and not distributing them in the source
- -- Debian Lintian Maintainers <lintian-maint@debian.org> Tue, 20 Apr 2004 02:03:37 +0200
+ -- Debian Lintian Maintainers <lintian-maint@debian.org> Sat, 01 May 2004 04:03:37 +0200
lintian (1.23.0) unstable; urgency=low
Modified: trunk/debian/control
===================================================================
--- trunk/debian/control 2004-05-01 01:35:55 UTC (rev 236)
+++ trunk/debian/control 2004-05-01 02:20:48 UTC (rev 237)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Uploaders: Josip Rodin <joy-packages@debian.org>, Jeroen van Wolffelaar <jeroen@wolffelaar.nl>, Frank Lichtenheld <djpig@debian.org>, Marc 'HE' Brockschmidt <he@debian.org>, Colin Watson <cjwatson@debian.org>
-Build-Depends-Indep: debiandoc-sgml
+Build-Depends-Indep: debiandoc-sgml, sed (>= 4)
Standards-Version: 3.6.1
Package: lintian
Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules 2004-05-01 01:35:55 UTC (rev 236)
+++ trunk/debian/rules 2004-05-01 02:20:48 UTC (rev 237)
@@ -15,8 +15,6 @@
build: $(neededfiles)
@echo .... running build ....
- perl -i -pe '$$_="my \$$LINTIAN_VERSION = \"$(VER)\";\t#External Version number\n" \
- if m/^my \$$LINTIAN_VERSION = /;' frontend/lintian
cd doc && LANG=C debiandoc2html lintian.sgml
cd doc && LANG=C debiandoc2text lintian.sgml
@@ -37,6 +35,7 @@
@echo .... install frontends ....
install -d $(tmp)/usr/bin
install -m 755 frontend/lintian $(tmp)/usr/bin/
+ sed -i 's/<VERSION>/$(VER)/' $(tmp)/usr/bin/lintian
install -m 755 frontend/lintian-info $(tmp)/usr/bin/
# library files
@echo .... install library files ....
Modified: trunk/frontend/lintian
===================================================================
--- trunk/frontend/lintian 2004-05-01 01:35:55 UTC (rev 236)
+++ trunk/frontend/lintian 2004-05-01 02:20:48 UTC (rev 237)
@@ -29,7 +29,7 @@
# Global Variables
#######################################
my $lintian_info_cmd = 'lintian-info'; #Command to run for ?
-my $LINTIAN_VERSION = "1.23.0"; #External Version number
+my $LINTIAN_VERSION = "<VERSION>"; #External Version number
my $BANNER = "Lintian v$LINTIAN_VERSION"; #Version Banner - text form
my $LAB_FORMAT = 7; #Lab format Version Number
#increased whenever incompatible
Reply to: