lintian: r663 - in trunk: checks debian
Author: rra
Date: 2006-05-07 07:33:43 +0200 (Sun, 07 May 2006)
New Revision: 663
Modified:
trunk/checks/po-debconf
trunk/debian/changelog
Log:
* checks/po-debconf:
+ [RA] Exempt packages that use yada from the POTFILES.in check and
from checking for up-to-date templates, since yada does this at
build time. Reported by Piotr Roszatycki. (Closes: #321139)
Modified: trunk/checks/po-debconf
===================================================================
--- trunk/checks/po-debconf 2006-05-07 02:03:50 UTC (rev 662)
+++ trunk/checks/po-debconf 2006-05-07 05:33:43 UTC (rev 663)
@@ -47,10 +47,24 @@
}
} else {
return 0;
-}
+}
+# yada builds its template and po/POTFILES.in dynamically at build time, so
+# excuse yada from some of these checks (including the out of date templates
+# check).
my $missing_files = 0;
-if (-f "debfiles/po/POTFILES.in") {
+my $yada = 0;
+if (open (RULES, 'debfiles/rules')) {
+ local $_;
+ while (<RULES>) {
+ if (m%^\t\s*(?:perl debian/)?yada\s%) {
+ $yada = 1;
+ $missing_files = 1;
+ }
+ }
+}
+
+if (!$yada && -f "debfiles/po/POTFILES.in") {
open(POTFILES,"debfiles/po/POTFILES.in")
or fail("Can't open debfiles/po/POTFILES.in.");
while (<POTFILES>) {
@@ -64,7 +78,7 @@
}
}
close(POTFILES);
-} else {
+} elsif (!$yada) {
tag "missing-potfiles-in", "";
$missing_files = 1;
}
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-05-07 02:03:50 UTC (rev 662)
+++ trunk/debian/changelog 2006-05-07 05:33:43 UTC (rev 663)
@@ -40,6 +40,10 @@
+ [RA] Change postrm to prerm in the check for a useless install-docs
call; calling install-docs in postrm is always a warning and useless
calls in prerm were not being diagnosed.
+ * checks/po-debconf:
+ + [RA] Exempt packages that use yada from the POTFILES.in check and
+ from checking for up-to-date templates, since yada does this at
+ build time. Reported by Piotr Roszatycki. (Closes: #321139)
* checks/shared-libs.desc:
+ [RA] Document that exceptions to the -fPIC rule for shared libraries
are possible and ask that such exceptions be documented with lintian
@@ -53,7 +57,7 @@
+ [RA] Update standards version to 3.7.2 (no changes required).
+ [RA] Update description to note calibration for Policy 3.7.2.
- -- Russ Allbery <rra@debian.org> Sat, 6 May 2006 18:20:12 -0700
+ -- Russ Allbery <rra@debian.org> Sat, 6 May 2006 22:33:30 -0700
lintian (1.23.19) unstable; urgency=low
Reply to: