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

lintian: r1061 - in trunk: checks debian testset testset/empty/debian



Author: rra
Date: 2007-12-07 21:55:47 +0100 (Fri, 07 Dec 2007)
New Revision: 1061

Modified:
   trunk/checks/fields
   trunk/debian/changelog
   trunk/testset/empty/debian/control
   trunk/testset/empty/debian/rules
   trunk/testset/tags.empty
Log:
  + [RA] Only warn about Section for Python packages starting with
    python-, not py, since py picks up too many things that aren't
    Python modules.
  + [RA] Only warn about Section for Perl packages matching lib.*-perl
    to avoid false positives for things like dh-make-perl.  Thanks,
    Damyan Ivanov.  (Closes: #454723)

Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2007-12-07 05:01:58 UTC (rev 1060)
+++ trunk/checks/fields	2007-12-07 20:55:47 UTC (rev 1061)
@@ -317,7 +317,7 @@
 	    if ($pkg =~ /-docs?$/) {
 		tag "doc-package-should-be-section-doc", $pkg
 		    unless $parts[-1] eq 'doc';
-	    } elsif ($pkg =~ /-perl$/) {
+	    } elsif ($pkg =~ /^lib.*-perl$/) {
 		tag "perl-package-should-be-section-perl", $pkg
 		    unless $parts[-1] eq 'perl';
 	    } elsif ($pkg =~ /^python-/) {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-12-07 05:01:58 UTC (rev 1060)
+++ trunk/debian/changelog	2007-12-07 20:55:47 UTC (rev 1061)
@@ -9,6 +9,12 @@
     + [RA] Warn about debug packages that aren't priority: extra.  Thanks,
       Joerg Jaspert.  (Closes: #454358)
     + [RA] Ignore Original-Maintainer if the version contains ubuntu.
+    + [RA] Only warn about Section for Python packages starting with
+      python-, not py, since py picks up too many things that aren't
+      Python modules.
+    + [RA] Only warn about Section for Perl packages matching lib.*-perl
+      to avoid false positives for things like dh-make-perl.  Thanks,
+      Damyan Ivanov.  (Closes: #454723)
   * checks/files:
     + [RA] Warn about packages providing files in /usr/lib/debug that
       aren't named -dbg.  Thanks, Joerg Jaspert.
@@ -24,7 +30,7 @@
       against a different list of allowable distributions.  Merged from
       the Ubuntu patch.
 
- -- Russ Allbery <rra@debian.org>  Thu, 06 Dec 2007 21:01:51 -0800
+ -- Russ Allbery <rra@debian.org>  Fri, 07 Dec 2007 12:08:32 -0800
 
 lintian (1.23.38) unstable; urgency=low
 

Modified: trunk/testset/empty/debian/control
===================================================================
--- trunk/testset/empty/debian/control	2007-12-07 05:01:58 UTC (rev 1060)
+++ trunk/testset/empty/debian/control	2007-12-07 20:55:47 UTC (rev 1061)
@@ -8,7 +8,7 @@
 Architecture: all
 Section: perl
 
-Package: empty-perl
+Package: libempty-perl
 Architecture: all
 Section: doc
 

Modified: trunk/testset/empty/debian/rules
===================================================================
--- trunk/testset/empty/debian/rules	2007-12-07 05:01:58 UTC (rev 1060)
+++ trunk/testset/empty/debian/rules	2007-12-07 20:55:47 UTC (rev 1061)
@@ -27,9 +27,9 @@
 	install -d debian/empty-docs debian/empty-docs/DEBIAN
 	dpkg-gencontrol -pempty-docs -Pdebian/empty-docs
 	dpkg --build debian/empty-docs ..
-	install -d debian/empty-perl debian/empty-perl/DEBIAN
-	dpkg-gencontrol -pempty-perl -Pdebian/empty-perl
-	dpkg --build debian/empty-perl ..
+	install -d debian/libempty-perl debian/libempty-perl/DEBIAN
+	dpkg-gencontrol -plibempty-perl -Pdebian/libempty-perl
+	dpkg --build debian/libempty-perl ..
 	install -d debian/python-empty debian/python-empty/DEBIAN
 	dpkg-gencontrol -ppython-empty -Pdebian/python-empty
 	dpkg --build debian/python-empty ..
@@ -38,7 +38,7 @@
 
 clean:
 	rm -rf $(CURDIR)/debian/empty $(CURDIR)/debian/empty-docs \
-		$(CURDIR)/debian/empty-perl $(CURDIR)/debian/python-empty \
+		$(CURDIR)/debian/libempty-perl $(CURDIR)/debian/python-empty \
 		debian/files
 
 .PHONY: build binary-indep binary clean

Modified: trunk/testset/tags.empty
===================================================================
--- trunk/testset/tags.empty	2007-12-07 05:01:58 UTC (rev 1060)
+++ trunk/testset/tags.empty	2007-12-07 20:55:47 UTC (rev 1061)
@@ -4,13 +4,13 @@
 E: empty-docs: maintainer-address-missing empty
 E: empty-docs: no-copyright-file
 E: empty-docs: package-has-no-description
-E: empty-perl: maintainer-address-missing empty
-E: empty-perl: no-copyright-file
-E: empty-perl: package-has-no-description
 E: empty: maintainer-address-missing empty
 E: empty: no-copyright-file
 E: empty: package-has-no-description
 E: empty_2_i386.changes: no-description-in-changes-file
+E: libempty-perl: maintainer-address-missing empty
+E: libempty-perl: no-copyright-file
+E: libempty-perl: package-has-no-description
 E: python-empty: maintainer-address-missing empty
 E: python-empty: no-copyright-file
 E: python-empty: package-has-no-description
@@ -21,12 +21,12 @@
 W: empty-docs: doc-package-should-be-section-doc empty-docs
 W: empty-docs: maintainer-not-full-name empty
 W: empty-docs: no-priority-field
-W: empty-perl: maintainer-not-full-name empty
-W: empty-perl: no-priority-field
-W: empty-perl: perl-package-should-be-section-perl empty-perl
 W: empty: maintainer-not-full-name empty
 W: empty: no-priority-field
 W: empty: no-section-field
+W: libempty-perl: maintainer-not-full-name empty
+W: libempty-perl: no-priority-field
+W: libempty-perl: perl-package-should-be-section-perl libempty-perl
 W: python-empty: maintainer-not-full-name empty
 W: python-empty: no-priority-field
 W: python-empty: python-package-should-be-section-python python-empty



Reply to: