[omd-commits] OMD Git: omd: perl-modules: fixed tests and module name

git version control git at mathias-kettner.de
Tue Apr 19 15:59:40 CEST 2011


Module:   omd
Branch:   master
Commit:   54a4f2cd26e7cef014651c89557429cc2d0e653f
URL:      http://omdistro.org/projects/omd/repository/revisions/54a4f2cd26e7cef014651c89557429cc2d0e653f

Author:   Sven Nierlein <sven at nierlein.de>
Date:     Tue Apr 19 14:20:22 2011 +0200
Commiter: Sven Nierlein <sven at nierlein.de>
Date:     Tue Apr 19 15:55:42 2011 +0200

perl-modules: fixed tests and module name

---

 packages/perl-modules/Makefile            |    6 +++---
 packages/perl-modules/src/build_module.pl |    1 +
 t/20-package_perl-modules.t               |    3 ++-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/packages/perl-modules/Makefile b/packages/perl-modules/Makefile
index 8f21de4..9675e8f 100644
--- a/packages/perl-modules/Makefile
+++ b/packages/perl-modules/Makefile
@@ -187,9 +187,9 @@ MODULES = ExtUtils-MakeMaker-6.56.tar.gz \
           Encode-2.42.tar.gz \
           Date-Calc-XS-6.2.tar.gz \
           HTML-Lint-2.06.tar.gz \
-	String-CRC32-1.4.tar.gz \
-	Gearman-1.11.tar.gz \
-	Crypt-Rijndael-1.09.tar.gz
+          String-CRC32-1.4.tar.gz \
+          Gearman-1.11.tar.gz \
+          Crypt-Rijndael-1.09.tar.gz
 
 build:
 	mkdir -p $(TMPDIST)
diff --git a/packages/perl-modules/src/build_module.pl b/packages/perl-modules/src/build_module.pl
index 07cc7ed..6322182 100755
--- a/packages/perl-modules/src/build_module.pl
+++ b/packages/perl-modules/src/build_module.pl
@@ -61,6 +61,7 @@ sub install_module {
     if( $modname eq "Template::Toolkit" )          { $modname   = "Template"; }
     if( $modname eq "IO::stringy" )                { $modname   = "IO::Scalar"; }
     if( $modname eq "TermReadKey" )                { $modname   = "Term::ReadKey"; }
+    if( $modname eq "Gearman" )                    { $modname   = "Gearman::Client"; }
     if( $modname eq "IO::Compress" )               { $modname   = "IO::Compress::Base"; }
     if( $modname eq "Term::ReadLine::Gnu" )        { $pre_check = "use Term::ReadLine;"; }
     if( $modname eq "DBD::Oracle") {
diff --git a/t/20-package_perl-modules.t b/t/20-package_perl-modules.t
index 979f9da..7601abf 100644
--- a/t/20-package_perl-modules.t
+++ b/t/20-package_perl-modules.t
@@ -12,7 +12,7 @@ BEGIN {
     use lib "$FindBin::Bin/lib/lib/perl5";
 }
 
-plan( tests => 554 );
+plan( tests => 563 );
 
 ##################################################
 # create our test site
@@ -44,6 +44,7 @@ for my $tarball (glob("packages/perl-modules/src/*.gz")) {
     elsif($tarball eq 'IO::stringy')                 { $tarball = 'IO::Scalar'; }
     elsif($tarball eq 'TermReadKey')                 { $tarball = 'Term::ReadKey'; }
     elsif($tarball eq 'IO::Compress')                { $tarball = 'IO::Compress::Base'; }
+    elsif($tarball eq 'Gearman')                     { $tarball = 'Gearman::Client'; }
     elsif($tarball eq 'Term::ReadLine::Gnu')         { $tarball = 'Term::ReadLine; use '; }
     elsif($tarball eq 'Package::DeprecationManager') { $version .= ' -deprecations => { blah => foo }'; }
     elsif($tarball eq 'DBD::Oracle')                 { next; }



More information about the omd-commits mailing list