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

[SCM] Debian package checker branch, master, updated. 2.5.13-17-g9f63b6a



The following commit has been merged in the master branch:
commit f108e034693e4f5fab39a68aab5a45fba5d4939e
Author: Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
Date:   Mon Jun 3 22:36:12 2013 +0200

    Fix another false positive due to a redactional variant
    
    Found in libnss-pgsql
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/cruft b/checks/cruft
index 1902687..27b85db 100644
--- a/checks/cruft
+++ b/checks/cruft
@@ -507,6 +507,15 @@ sub find_cruft {
                                       $s+ (?:no$s+)? Back(?:[\\]?-)?$s*Cover $s+ Texts?/xiso) {
                                 # no invariant variant (dict-foldoc)
                             }
+                            when(m/\A $s* (?: [\,\.;] $s* )? version $s+ \d+(?:\.\d+)? $s+
+                                   (?:or $s+ any $s+ later $s+ version $s+)?
+                                   published $s+ by $s+ the $s+ Free $s+ Software $s+ Foundation $s*
+                                   (?: [,\.;] $s*)?
+                                   There $s+ are $s+ no $s+ invariants? $s+ sections?
+                                   (?: [,\.;] $s*)? \Z
+                                   /xismo) {
+                                # no invariant libnss-pgsql version
+                            }
                             when(m/with $s+ the $s+ Invariant $s+ Sections $s+ being
                                         $s+ (?:\@var\{|<var>)? LIST $s+ THEIR $s+TITLES (?:\}|<\/var>)? $s* ,?
                                         $s+ with $s+ the $s+ Front(?:[\\]?-)$s*Cover $s+ Texts $s+ being
diff --git a/t/tests/cruft-gfdl-invariants/debian/src/oldfalsepositive/libnss-pgsql.xml b/t/tests/cruft-gfdl-invariants/debian/src/oldfalsepositive/libnss-pgsql.xml
new file mode 100644
index 0000000..8a5eb6e
--- /dev/null
+++ b/t/tests/cruft-gfdl-invariants/debian/src/oldfalsepositive/libnss-pgsql.xml
@@ -0,0 +1,7 @@
+      <para>
+	Permission is granted to copy, distribute and/or modify this document
+	under the terms of the GNU Free Documentation License, Version 1.1 or
+	any later version published by the Free Software Foundation. There
+	are no invariant sections. A copy of the license is included in the
+	section entitled "GNU Free Documentation License".
+      </para>

-- 
Debian package checker


Reply to: