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

[SCM] Debian package checker branch, master, updated. 2.5.12-20-g2f709ea



The following commit has been merged in the master branch:
commit 2f709ea74fbc106af32c7d4966060aa9062b3e4a
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Apr 20 17:46:37 2013 +0200

    L::C::*: unpacked/control + L::Path requires >= 2.5.13~
    
    Document the fact that passing an instance of Lintian::Path to
    unpacked/control will require Lintian 2.5.13~.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/lib/Lintian/Collect/Binary.pm b/lib/Lintian/Collect/Binary.pm
index d0049ef..2af66e4 100644
--- a/lib/Lintian/Collect/Binary.pm
+++ b/lib/Lintian/Collect/Binary.pm
@@ -137,9 +137,9 @@ sub changelog {
 =item control ([FILE])
 
 Returns the path to FILE in the control.tar.gz.  FILE must be either a
-L<Lintian::Path> object or a string denoting the requested path.  In
-the latter case, the path must be relative to the root of the
-control.tar.gz member and should be normalized.
+L<Lintian::Path> object (>= 2.5.13~) or a string denoting the
+requested path.  In the latter case, the path must be relative to the
+root of the control.tar.gz member and should be normalized.
 
 It is not permitted for FILE to be C<undef>.  If the "root" dir is
 desired either invoke this method without any arguments at all, pass
diff --git a/lib/Lintian/Collect/Package.pm b/lib/Lintian/Collect/Package.pm
index 23798b6..cc76de7 100644
--- a/lib/Lintian/Collect/Package.pm
+++ b/lib/Lintian/Collect/Package.pm
@@ -74,10 +74,9 @@ documented in the L<Lintian::Collect> module are also available.
 =item unpacked ([FILE])
 
 Returns the path to the directory in which the package has been
-unpacked.  FILE must be either a L<Lintian::Path> object or a
-string denoting the requested path.  In the latter case, the
-path must be relative to the root of the package and should be
-normalized.
+unpacked.  FILE must be either a L<Lintian::Path> object (>= 2.5.13~)
+or a string denoting the requested path.  In the latter case, the path
+must be relative to the root of the package and should be normalized.
 
 It is not permitted for FILE to be C<undef>.  If the "root" dir is
 desired either invoke this method without any arguments at all, pass

-- 
Debian package checker


Reply to: