Depend on Clownfish 0.4.4 everywhere

The prereq versions in CPAN META files must be at least as strict as
the versions in Lucy.cfp.

Fixes LUCY-287.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/58b08e3b
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/58b08e3b
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/58b08e3b

Branch: refs/heads/0.4
Commit: 58b08e3b72a6a62df5d45f3e04e93c3477654870
Parents: e4ac95a
Author: Nick Wellnhofer <[email protected]>
Authored: Thu Jan 28 17:03:55 2016 +0100
Committer: Nick Wellnhofer <[email protected]>
Committed: Sun Jan 31 15:51:04 2016 +0100

----------------------------------------------------------------------
 devel/bin/update_version | 4 ++++
 perl/Build.PL            | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/58b08e3b/devel/bin/update_version
----------------------------------------------------------------------
diff --git a/devel/bin/update_version b/devel/bin/update_version
index 8fd3768..1e2237f 100755
--- a/devel/bin/update_version
+++ b/devel/bin/update_version
@@ -86,6 +86,10 @@ write_file( 'perl/lib/Lucy.pod', $buf );
 $buf = read_file('perl/Build.PL');
 $buf =~ s/(dist_version\ +=>\ +)'.+?'/$1'$x_y_z_d_version'/
     or die "no match";
+$buf =~ s/(Clownfish::CFC::Perl::Build'\s*=>\s*)(.*?),/$1$x_yyyzzz_version,/g
+    or die "no match";
+$buf =~ s/(Clownfish'\s*=>\s*)(.*?),/$1$x_yyyzzz_version,/g
+    or die "no match";
 write_file( 'perl/Build.PL', $buf );
 
 # Update ruby/apache_lucy.gemspec

http://git-wip-us.apache.org/repos/asf/lucy/blob/58b08e3b/perl/Build.PL
----------------------------------------------------------------------
diff --git a/perl/Build.PL b/perl/Build.PL
index a8eb7e8..7715901 100644
--- a/perl/Build.PL
+++ b/perl/Build.PL
@@ -42,11 +42,11 @@ my $builder = Lucy::Build->new(
     dist_version       => '0.4.4',
     requires           => {
         'perl'      => '5.8.3',
-        'Clownfish' => undef,
+        'Clownfish' => 0.004004,
     },
     configure_requires => {
         'Module::Build'               => 0.280801,
-        'Clownfish::CFC::Perl::Build' => undef,
+        'Clownfish::CFC::Perl::Build' => 0.004004,
     },
     build_requires     => {
         'Module::Build'      => 0.280801,

Reply via email to