Author: djpig
Date: 2008-04-17 22:08:26 +0200 (Thu, 17 Apr 2008)
New Revision: 1269

Modified:
   trunk/checks/files
   trunk/debian/changelog
   trunk/testset/filenames/debian/rules
Log:
Don't complain about empty directories under
/usr/share/python-support since those might be needed.  Thanks,
Josselin Mouette.  (Closes: #473428)


Modified: trunk/checks/files
===================================================================
--- trunk/checks/files  2008-04-17 19:55:07 UTC (rev 1268)
+++ trunk/checks/files  2008-04-17 20:08:26 UTC (rev 1269)
@@ -910,12 +910,16 @@
 # Empty Perl directories are an ExtUtils::MakeMaker artifact that will be
 # fixed in Perl 5.10, and people can cause more problems by trying to fix it,
 # so just ignore them.
+#
+# python-support needs a directory for each package even it might be empty
 foreach my $dir (keys %dir_counts) {
     next if $dir eq "";
     next if ($dir =~ m{^var/} or $dir =~ m{^etc/});
     next if $pkg eq 'base-files';
     if ($dir_counts{$dir} == 0) {
-       if ($dir ne 'usr/lib/perl5/' and $dir ne 'usr/share/perl5/') {
+       if ($dir ne 'usr/lib/perl5/'
+           and $dir ne 'usr/share/perl5/'
+           and $dir !~ m;^usr/share/python-support/;) {
            tag "package-contains-empty-directory", $dir;
        }
     }

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-04-17 19:55:07 UTC (rev 1268)
+++ trunk/debian/changelog      2008-04-17 20:08:26 UTC (rev 1269)
@@ -28,6 +28,9 @@
       it is the document root.  Thanks, Joerg Jaspert.  (Closes: #470403)
     + [RA] Don't consider files in bin directories that contain "copying"
       or "license" to be extra license files.
+    + [FL] Don't complain about empty directories under
+      /usr/share/python-support since those might be needed.  Thanks,
+      Josselin Mouette.  (Closes: #473428)
   * checks/scripts:
     + [RA] Attempt to quash some Perl warnings.
     + [RA] *.py files in /usr/{lib,share}, /etc/init.d/skeleton, and *.ex

Modified: trunk/testset/filenames/debian/rules
===================================================================
--- trunk/testset/filenames/debian/rules        2008-04-17 19:55:07 UTC (rev 
1268)
+++ trunk/testset/filenames/debian/rules        2008-04-17 20:08:26 UTC (rev 
1269)
@@ -75,6 +75,8 @@
        touch debian/tmp/usr/share/pixmaps/license.foo
        touch debian/tmp/usr/share/pixmaps/COPYING
 
+       install -d debian/tmp/usr/share/python-support/filenames
+
        install -d debian/tmp/usr/share/linda/overrides
        echo 'foo' > debian/tmp/usr/share/linda/overrides/filenames
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to