This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to annotated tag v0.22 in repository liblinux-distribution-perl.
commit c93910e8293343feff0a6b79883e4f45fd01ff6d Author: Alexandr Ciornii <alexcho...@gmail.com> Date: Sun Dec 5 21:22:27 2010 +0200 add myself to authors, other small changes --- Changes | 3 +++ Makefile.PL | 5 +++-- lib/Linux/Distribution.pm | 5 +++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Changes b/Changes index 3cd613e..8f63f51 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ +* 2010-12-05 version 0.20 + Fixed version detection for Gentoo CentOS detection (modified patch from XSAWYERX) +Start writing distribution-oriented tests * 2008-11-02 version 0.14_01 diff --git a/Makefile.PL b/Makefile.PL index 8750cac..4505c9a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,7 +1,7 @@ use 5.006000; use ExtUtils::MakeMaker; unless (lc $^O eq "linux") { - die "OS unsupported\n"; + #die "OS unsupported\n"; } WriteMakefile( NAME => 'Linux::Distribution', @@ -10,7 +10,8 @@ WriteMakefile( 'Test::More' => 0, }, ABSTRACT_FROM => 'lib/Linux/Distribution.pm', # retrieve abstract from module - AUTHOR => 'Alberto Re <albe...@accidia.net>', + AUTHOR => 'Alexandr Ciornii <alexcho...@gmail.com>', #Alberto Re <albe...@accidia.net> ($ExtUtils::MakeMaker::VERSION ge '6.48'? ('LICENSE' => 'perl', 'MIN_PERL_VERSION' => 5.006,) : ()), + PL_FILES => {}, ); diff --git a/lib/Linux/Distribution.pm b/lib/Linux/Distribution.pm index e3d9855..c8f0729 100644 --- a/lib/Linux/Distribution.pm +++ b/lib/Linux/Distribution.pm @@ -164,7 +164,7 @@ __END__ =head1 NAME -Linux::Distribution - Perl extension to guess on which Linux distribution we are running. +Linux::Distribution - Perl extension to detect on which Linux distribution we are running. =head1 SYNOPSIS @@ -181,7 +181,7 @@ Linux::Distribution - Perl extension to guess on which Linux distribution we are use Linux::Distribution qw(distribution_name distribution_version); - $linux = Linux::Distribution->new; + my $linux = Linux::Distribution->new; if(my $distro = $linux->distribution_name()) { my $version = $linux->distribution_version(); print "you are running $distro, version $version\n"; @@ -207,6 +207,7 @@ Add the capability of recognize the version of the distribution for all recogniz =head1 AUTHORS +Alexandr Ciornii E<lt>alexcho...@gmail.come<gt>, L<http://chorny.net> Alberto Re, E<lt>albe...@accidia.nete<gt> Judith Lebzelter, E<lt>jud...@osdl.orge<gt> -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblinux-distribution-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits