[SCM] Debian native package for Config::Model::Dpkg branch, master, updated. debian/2.032-9-gb5a4775

Dominique Dumont dod at debian.org
Tue Mar 12 17:52:16 UTC 2013


The following commit has been merged in the master branch:
commit 8ad37669f1f47c187c593f50245c82e9afb30f2d
Author: Dominique Dumont <dod at debian.org>
Date:   Tue Mar 12 18:51:10 2013 +0100

    Allow version with variables and appended stuff (e.g. ${foo}.1~ ) (Closes: #702792)

diff --git a/lib/Config/Model/Dpkg/Dependency.pm b/lib/Config/Model/Dpkg/Dependency.pm
index 7cda7f5..cc095b7 100644
--- a/lib/Config/Model/Dpkg/Dependency.pm
+++ b/lib/Config/Model/Dpkg/Dependency.pm
@@ -88,7 +88,8 @@ depend: pkg_dep | variable
 
 alt_depend: '|' depend  
 
-variable: /\${[\w:\-]+}/
+# For the allowed stuff after ${foo}, see #702792
+variable: /\${[\w:\-]+}[\w\.\-~+]*/
 
 pkg_dep: pkg_name dep_version arch_restriction(?) {
     # pass dep_version by ref so they can be modified

-- 
Debian native package for Config::Model::Dpkg



More information about the Pkg-perl-cvs-commits mailing list