[Reproducible-commits] [libextutils-depends-perl] 27/187: add long-overdue version-checking import implementations.
Maria Valentina Marin Rodrigues
akira-guest at moszumanska.debian.org
Wed Jan 21 21:16:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
akira-guest pushed a commit to branch pu/reproducible_builds
in repository libextutils-depends-perl.
commit 63a97b5a36a551929a7d673049f0e398ac6bfcad
Author: Scott Arrington <sarringt at src.gnome.org>
Date: Fri Mar 5 05:18:34 2004 +0000
add long-overdue version-checking import implementations.
svn path=/trunk/; revision=40
---
Changes | 6 ++++++
lib/ExtUtils/Depends.pm | 9 ++++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/Changes b/Changes
index 690376e..23b358f 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,11 @@
Revision history for Perl extension ExtUtils::Depends.
+0.202 Fri Mar 5 00:26:18 EST 2004
+ - add long-overdue version-checking import implementation.
+ - fixed a bad initial value bug that caused crashes if your setup
+ did not need a call to set_libs. [Ross]
+ - distribute the spec file. [Ross]
+
0.201 Thu Feb 12 15:33:47 EST 2004
- add_headers() is now deprecated. it's functionality is provided
by install(), and it is already a no-op in 0.200.
diff --git a/lib/ExtUtils/Depends.pm b/lib/ExtUtils/Depends.pm
index b5385f9..631b0e3 100644
--- a/lib/ExtUtils/Depends.pm
+++ b/lib/ExtUtils/Depends.pm
@@ -10,7 +10,14 @@ use Carp;
use File::Spec;
use Data::Dumper;
-our $VERSION = '0.201';
+our $VERSION = '0.202';
+
+sub import {
+ my $class = shift;
+ return unless @_;
+ die "$class version $_[0] is required--this is only version $VERSION"
+ if $VERSION < $_[0];
+}
sub new {
my ($class, $name, @deps) = @_;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/libextutils-depends-perl.git
More information about the Reproducible-commits
mailing list