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 b97b346e0968d554f55baf54540ef54b05426d51 Author: Mike <michiel.bei...@gmail.com> Date: Thu Jul 28 23:08:23 2011 +0200 Upped version numbers, small documentation changes. --- Changes | 6 ++++++ MANIFEST | 12 ++++++++++++ META.yml | 5 +++-- README | 8 ++++---- lib/Linux/Distribution.pm | 6 +++--- 5 files changed, 28 insertions(+), 9 deletions(-) diff --git a/Changes b/Changes index 8f63f51..7d3c664 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,9 @@ +* 2011-??-?? version 0.21 + +Fixed version detection for Fedora (reported by tlhackqueATyahoo.com, RT#69671) +Fixed OS and version detection for CentOS6 (RT#69847) +Added version detection for Scientific Linux + * 2010-12-05 version 0.20 Fixed version detection for Gentoo diff --git a/MANIFEST b/MANIFEST index 7b0b2f8..3121b94 100644 --- a/MANIFEST +++ b/MANIFEST @@ -3,5 +3,17 @@ Makefile.PL MANIFEST README t/Linux-Distribution.t +t/centos.t +t/centos6.t +t/fedora15.t +t/scientific6.t +t/centos/files +t/centos/redhat-release +t/centos6/files +t/centos6/centos-release +t/fedora15/fedora-release +t/fedora15/files +t/scientific6/redhat-release +t/scientific6/files lib/Linux/Distribution.pm META.yml Module meta-data (added by MakeMaker) diff --git a/META.yml b/META.yml index f653de1..d709273 100644 --- a/META.yml +++ b/META.yml @@ -1,9 +1,10 @@ --- #YAML:1.0 name: Linux-Distribution -version: 0.14_01 -abstract: Perl extension to guess on which Linux distribution we are running. +version: 0.21 +abstract: Perl extension to detect on which Linux distribution we are running. author: - Alberto Re <albe...@accidia.net> + - Alexandr Ciornii <alexcho...@gmail.com> license: perl distribution_type: module configure_requires: diff --git a/README b/README index 5b94bdb..326f4b4 100644 --- a/README +++ b/README @@ -1,15 +1,15 @@ -Linux-Distribution version 0.20 +Linux-Distribution version 0.21 =============================== -This is a simple module that tries to guess on what linux distribution we are running by looking +This is a simple module that tries to detect on what linux distribution we are running by looking for release's files in /etc. It now looks for 'lsb-release' first as that should be the most cor- rect and adds ubuntu support. Secondly, it will look for the distro specific files. It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa, va-linux, trustix, adamantix, yoper, arch-linux, libranet, -gentoo, ubuntu and redflag. +gentoo, ubuntu, scientific, and redflag. -It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, redflag and +It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, scientific, redflag and ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-) INSTALLATION diff --git a/lib/Linux/Distribution.pm b/lib/Linux/Distribution.pm index 2bb59de..0604efc 100644 --- a/lib/Linux/Distribution.pm +++ b/lib/Linux/Distribution.pm @@ -10,7 +10,7 @@ our @ISA = qw(Exporter); our @EXPORT_OK = qw( distribution_name distribution_version ); -our $VERSION = '0.14_01'; +our $VERSION = '0.21'; our $release_files_directory='/etc'; our $standard_release_file = 'lsb-release'; @@ -196,9 +196,9 @@ Linux::Distribution - Perl extension to detect on which Linux distribution we ar This is a simple module that tries to guess on what linux distribution we are running by looking for release's files in /etc. It now looks for 'lsb-release' first as that should be the most correct and adds ubuntu support. Secondly, it will look for the distro specific files. -It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa, va-linux, trustix, adamantix, yoper, arch-linux, libranet, gentoo, ubuntu and redflag. +It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa, va-linux, trustix, adamantix, yoper, arch-linux, libranet, gentoo, ubuntu, scientific and redflag. -It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, redflag and ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-) +It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, scientific, redflag and ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-) =head2 EXPORT -- 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