r35007 - in /trunk/dh-make-perl: lib/Debian/Dependency.pm t/Dep.t

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri May 8 13:55:46 UTC 2009


Author: dmn
Date: Fri May  8 13:55:41 2009
New Revision: 35007

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=35007
Log:
Dependency: there is no '==' dependency relation; it is '='

Modified:
    trunk/dh-make-perl/lib/Debian/Dependency.pm
    trunk/dh-make-perl/t/Dep.t

Modified: trunk/dh-make-perl/lib/Debian/Dependency.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/Debian/Dependency.pm?rev=35007&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/Debian/Dependency.pm (original)
+++ trunk/dh-make-perl/lib/Debian/Dependency.pm Fri May  8 13:55:41 2009
@@ -130,7 +130,7 @@
                     (       # various relations 
                         <<
                       | <=
-                      | ==
+                      | =
                       | >=
                       | >>
                     )
@@ -169,7 +169,7 @@
 
 =item rel
 
-Contains the relation of the dependency. May be any of '<<', '<=', '==', '>='
+Contains the relation of the dependency. May be any of '<<', '<=', '=', '>='
 or '>>'. Default is '>='.
 
 =item ver

Modified: trunk/dh-make-perl/t/Dep.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/t/Dep.t?rev=35007&op=diff
==============================================================================
--- trunk/dh-make-perl/t/Dep.t (original)
+++ trunk/dh-make-perl/t/Dep.t Fri May  8 13:55:41 2009
@@ -33,7 +33,7 @@
 ok( !$@, '<= dependency parsed' );
 is( $loe->rel, '<=', '<= dependency detected' );
 
-my $se = eval { Debian::Dependency->new('libfoo-perl (==1.2)') };
-ok( !$@, '== dependency parsed' );
-is( $se->rel, '==', '== dependency detected' );
+my $se = eval { Debian::Dependency->new('libfoo-perl (=1.2)') };
+ok( !$@, '= dependency parsed' );
+is( $se->rel, '=', '= dependency detected' );
 




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