From 903d57f7ed2ec3ecb38ec1f9c7c44de29fe0613f Mon Sep 17 00:00:00 2001 From: corsepiu Date: Feb 27 2009 08:30:53 +0000 Subject: - Unconditionally BR: perl(Test::CPAN::Meta). - Adjust minimum perl version in META.yml (Add Class-Inspector-1.23.diff). --- diff --git a/Class-Inspector-1.23.diff b/Class-Inspector-1.23.diff new file mode 100644 index 0000000..a387833 --- /dev/null +++ b/Class-Inspector-1.23.diff @@ -0,0 +1,10 @@ +diff -Naur Class-Inspector-1.23.orig/META.yml Class-Inspector-1.23/META.yml +--- Class-Inspector-1.23.orig/META.yml 2008-06-02 04:36:31.000000000 +0200 ++++ Class-Inspector-1.23/META.yml 2009-02-27 08:54:03.000000000 +0100 +@@ -18,5 +18,5 @@ + - t + requires: + File::Spec: 0.80 +- perl: 5.005 ++ perl: 5.00503 + version: 1.23 diff --git a/perl-Class-Inspector.spec b/perl-Class-Inspector.spec index 8360a38..27c0b11 100644 --- a/perl-Class-Inspector.spec +++ b/perl-Class-Inspector.spec @@ -1,12 +1,14 @@ Name: perl-Class-Inspector Version: 1.23 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Get information about a class and its structure License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Class-Inspector/ Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Class-Inspector-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# META.yml has wrong minimum perl version +Patch0: Class-Inspector-1.23.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch @@ -16,11 +18,7 @@ BuildRequires: perl(Test::More) # For better test coverage BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::MinimumVersion) >= 0.007 - -%if 0%{?fedora} >= 10 -# FIXME: Missing in FC < 10 BuildRequires: perl(Test::CPAN::Meta) >= 0.07 -%endif %description Class::Inspector allows you to get information about a loaded class. @@ -31,6 +29,7 @@ provide an easier, more friendly interface to this information. %prep %setup -q -n Class-Inspector-%{version} +%patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -56,6 +55,10 @@ make test AUTOMATED_TESTING=1 %{_mandir}/man3/* %changelog +* Fri Feb 27 2009 Ralf Corsépius - 1.23-3 +- Unconditionally BR: perl(Test::CPAN::Meta). +- Adjust minimum perl version in META.yml (Add Class-Inspector-1.23.diff). + * Thu Feb 26 2009 Fedora Release Engineering - 1.23-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild