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

[SCM] Debian package checker branch, master, updated. 2.0.0-rc2-1-g8967bac



The following commit has been merged in the master branch:
commit 8967bac53a4260f0aa817f658af93302e54bab69
Author: Russ Allbery <rra@debian.org>
Date:   Wed Sep 24 11:14:38 2008 -0700

    Allow tildes in the version field of Source
    
    * checks/fields:
      + [RA] Allow tildes in the optional version number in the Source
        field.  Thanks, Rene Engelhard.  (Closes: #500063)

diff --git a/checks/fields b/checks/fields
index 13161ff..d9beaf0 100644
--- a/checks/fields
+++ b/checks/fields
@@ -286,7 +286,7 @@ if (not defined $info->field('source')) {
 	} else {
 		if ($source !~ /[A-Z0-9][-+\.A-Z0-9]+                      #Package name
 		                \s*
-		                (?:\((?:\d+:)?(?:[-\.+:A-Z0-9]+?)(?:-[\.+A-Z0-9]+)?\))?\s*$/ix) { #Version
+		                (?:\((?:\d+:)?(?:[-\.+:A-Z0-9~]+?)(?:-[\.+A-Z0-9~]+)?\))?\s*$/ix) { #Version
 			tag "source-field-malformed", "$source";
 		}
 	}
diff --git a/debian/changelog b/debian/changelog
index 9bbb13c..28da2e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+lintian (2.0.0) UNRELEASED; urgency=low
+
+  * checks/fields:
+    + [RA] Allow tildes in the optional version number in the Source
+      field.  Thanks, Rene Engelhard.  (Closes: #500063)
+
+ -- Russ Allbery <rra@debian.org>  Wed, 24 Sep 2008 11:13:27 -0700
+
 lintian (2.0.0~rc2) experimental; urgency=low
 
   * Summary of tag changes:

-- 
Debian package checker


Reply to: