[SCM] Debian packaging of libsvn-hooks-perl branch, master, updated. debian/1.05-1-3-g852cabb
Angel Abad
angelabad at gmail.com
Mon Aug 22 11:42:27 UTC 2011
The following commit has been merged in the master branch:
commit abdb07362235f76551dfe60ec18cdaf5e3c08b0d
Author: Angel Abad <angelabad at gmail.com>
Date: Mon Aug 22 13:33:18 2011 +0200
Imported Upstream version 1.06
diff --git a/Changes b/Changes
index 608a4c5..597742d 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
Revision history for SVN-Hooks. -*- text -*-
+1.06 2011-08-21
+
+ Checking in Makefile.PL if we can exec svnlook. Just
+ specifying the dependency from SVN::Look in it doesn't do.
+
1.05 2011-08-12
Fixing a bug in the new DENY_FILENAMES_PER_PATH directive.
diff --git a/META.yml b/META.yml
index 61a1ad0..3a0eac6 100644
--- a/META.yml
+++ b/META.yml
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: SVN-Hooks
-version: 1.05
+version: 1.06
abstract: A framework for implementing Subversion hooks.
author:
- Gustavo Chaves <gnustavo at cpan.org>
diff --git a/Makefile.PL b/Makefile.PL
index d59d649..4a64d82 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -18,6 +18,16 @@ GetOptions(
'author-tests' => \$author_tests,
) or die $usage;
+# Check if we have the svnlook command.
+eval {
+ open my $svnlook, '-|', 'svnlook --version' or die;
+ local $/ = undef; # slurp mode
+ <$svnlook>;
+ close $svnlook or die;
+};
+die "Aborting because I couldn't find the 'svnlook' executable.\n"
+ if $@;
+
#
# Check if we have internet connection
# (I lifted this code from Net::DNS, which lifted it from LWP... )
diff --git a/README b/README
index 7a643b5..756b76f 100644
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
Name: SVN-Hooks
What: Framework for Subversion hooks
-Version: 1.05
+Version: 1.06
Author: Gustavo Chaves <gnustavo at cpan.org>
SVN-Hooks is a framework for creating Subversion hooks
@@ -69,7 +69,7 @@ You can also look for information at:
COPYRIGHT AND LICENCE
-Copyright (C) 2008-2009 CPqD (http://www.cpqd.com.br/)
+Copyright (C) 2008-2011 CPqD (http://www.cpqd.com.br/)
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
diff --git a/lib/SVN/Hooks.pm b/lib/SVN/Hooks.pm
index d5bfec2..e124328 100644
--- a/lib/SVN/Hooks.pm
+++ b/lib/SVN/Hooks.pm
@@ -18,11 +18,11 @@ SVN::Hooks - A framework for implementing Subversion hooks.
=head1 VERSION
-Version 1.05
+Version 1.06
=cut
-our $VERSION = '1.05';
+our $VERSION = '1.06';
our @Conf_Files = (catfile('conf', 'svn-hooks.conf'));
our $Repo = undef;
--
Debian packaging of libsvn-hooks-perl
More information about the Pkg-perl-cvs-commits
mailing list