[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r1183 - in trunk: checks debian testset testset/libbaz/debian



Author: rra
Date: 2008-02-08 04:02:33 +0100 (Fri, 08 Feb 2008)
New Revision: 1183

Modified:
   trunk/checks/binaries
   trunk/debian/changelog
   trunk/testset/libbaz/debian/control
   trunk/testset/libbaz/debian/rules
   trunk/testset/tags.libbaz
Log:
* checks/binaries:
  + [RA] Make an architecture specification after perlapi optional.
    Thanks, gregor herrmann.  (Closes: #464626)

Modified: trunk/checks/binaries
===================================================================
--- trunk/checks/binaries	2008-02-07 02:40:29 UTC (rev 1182)
+++ trunk/checks/binaries	2008-02-08 03:02:33 UTC (rev 1183)
@@ -310,7 +310,7 @@
 
 # Check for a Perl dependency.
 if ($has_perl_lib) {
-    my $re = qr/(?:^|,)\s*perlapi-[\d.]+(?:\s*\[[^\]]+\])(?:\s*,|\z)/;
+    my $re = qr/(?:^|,)\s*perlapi-[\d.]+(?:\s*\[[^\]]+\])?\s*(?:,|\z)/;
     unless ($depends =~ /$re/) {
 	tag 'missing-dependency-on-perlapi';
     }

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-02-07 02:40:29 UTC (rev 1182)
+++ trunk/debian/changelog	2008-02-08 03:02:33 UTC (rev 1183)
@@ -1,5 +1,9 @@
 lintian (1.23.44) UNRELEASED; urgency=low
 
+  * checks/binaries:
+    + [RA] Make an architecture specification after perlapi optional.
+      Thanks, gregor herrmann.  (Closes: #464626)
+
   * lib/Spelling.pm:
     + [RA] Don't strip hyphens before checking spelling.  Move all D-Bus
       corrections to the picky list since the correction is too confusing

Modified: trunk/testset/libbaz/debian/control
===================================================================
--- trunk/testset/libbaz/debian/control	2008-02-07 02:40:29 UTC (rev 1182)
+++ trunk/testset/libbaz/debian/control	2008-02-08 03:02:33 UTC (rev 1183)
@@ -13,7 +13,7 @@
 
 Package: libbaz1-dev
 Architecture: any
-Depends: libbaz1 (= ${source:Version})
+Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8
 Description: development package
  Regression test for lintian's handling of libraries
 

Modified: trunk/testset/libbaz/debian/rules
===================================================================
--- trunk/testset/libbaz/debian/rules	2008-02-07 02:40:29 UTC (rev 1182)
+++ trunk/testset/libbaz/debian/rules	2008-02-08 03:02:33 UTC (rev 1183)
@@ -92,6 +92,10 @@
 	cp -a *.a *.so.* $(lib_tmp)/usr/lib
 	# and fuck up permission (TODO)
 	chmod a+x $(lib_tmp)/usr/lib/*.a
+	# Pretend to be a Perl module to test a lack of Perl dependencies.
+	install -d $(dev_tmp)/usr/lib/perl5/auto/Foo
+	install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/usr/lib/perl5/auto/Foo/Foo.so
+	strip $(dev_tmp)/usr/lib/perl5/auto/Foo/Foo.so
 	install -d $(dev_tmp)/usr/share/doc
 	ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) 
 	install -d $(dev_tmp)/DEBIAN

Modified: trunk/testset/tags.libbaz
===================================================================
--- trunk/testset/tags.libbaz	2008-02-07 02:40:29 UTC (rev 1182)
+++ trunk/testset/tags.libbaz	2008-02-08 03:02:33 UTC (rev 1183)
@@ -1,4 +1,5 @@
 E: libbaz source: not-binnmuable-any-depends-any libbaz1-dev -> libbaz1
+E: libbaz1-dev: missing-dependency-on-libc needed by ./usr/lib/perl5/auto/Foo/Foo.so
 E: libbaz1: control-file-has-bad-permissions shlibs 0755 != 0644
 E: libbaz1: control-file-has-bad-permissions symbols 0755 != 0644
 E: libbaz1: debian-changelog-file-missing-or-wrong-name
@@ -22,6 +23,8 @@
 E: libbaz2-dev: debian-changelog-file-missing-or-wrong-name
 E: libbaz2: debian-changelog-file-missing-or-wrong-name
 I: libbaz source: package-lacks-versioned-build-depends-on-debhelper 5
+I: libbaz1-dev: binary-has-unneeded-section ./usr/lib/perl5/auto/Foo/Foo.so .comment
+I: libbaz1-dev: no-md5sums-control-file
 I: libbaz1: binary-has-unneeded-section ./usr/lib/perl5/auto/Foo/Foo.so .comment
 I: libbaz1: no-md5sums-control-file
 I: libbaz1: several-sonames-in-same-package libbaz2.so.1.0 libbaz3.so.1


Reply to: