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

[SCM] Debian package checker branch, master, updated. 1.24.3-36-g0dbc689



The following commit has been merged in the master branch:
commit 5987a17d18c3616f25ec7a781e0b918fb2ee9851
Author: Chris Lamb <chris@chris-lamb.co.uk>
Date:   Fri Aug 15 06:28:41 2008 +0100

    Mention "find -empty" in package-contains-empty-directory's description
    
       + [ADB] Enhance the description of package-contains-empty-directory to
         mention how to remove such directories when building the package.
         Thanks Chris Lamb.  (Closes: #495153)

diff --git a/checks/files.desc b/checks/files.desc
index 8c57969..f28fb25 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -718,6 +718,11 @@ Tag: package-contains-empty-directory
 Type: warning
 Info: This package installs an empty directory.  This might be intentional
  but it's normally a mistake.  If it is intentional, add a lintian override.
+ .
+ If a package ships with or installs empty directories, you can remove them
+ in debian/rules by calling:
+ .
+  $ find path/to/base/dir -type d -empty -delete
 
 Tag: package-section-games-but-contains-no-game
 Type: error
diff --git a/debian/changelog b/debian/changelog
index 1d90c49..3c8bf92 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,10 +11,13 @@ lintian (1.24.4) UNRELEASED; urgency=low
   * checks/cruft{,.desc}:
     + [FL] Add new check for outdated libtool files.
       (Closes: #293296)
-  * checks/files:
+  * checks/files{,.desc}:
     + [ADB] Don't warn about embedded Javascript libraries in the package
       that actually provides the library. Thanks Raphael Geissert for
       pointing out the problem.  (Closes: #494577)
+    + [ADB] Enhance the description of package-contains-empty-directory to
+      mention how to remove such directories when building the package.
+      Thanks Chris Lamb.  (Closes: #495153)
   * checks/scripts:
     + [ADB] Split the "read without variable or with invalid options" bashism
       test in two, thus enabling the checks to be more accurate and avoiding

-- 
Debian package checker


Reply to: