diff --git a/perl-Class-Inspector.spec b/perl-Class-Inspector.spec index 15879e5..3852d69 100644 --- a/perl-Class-Inspector.spec +++ b/perl-Class-Inspector.spec @@ -1,6 +1,6 @@ Name: perl-Class-Inspector Version: 1.25 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Get information about a class and its structure License: GPL+ or Artistic Group: Development/Libraries @@ -13,11 +13,12 @@ BuildArch: noarch BuildRequires: perl(Test::More) -# For better test coverage +%if !%{defined perl_bootstrap} BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::CPAN::Meta) >= 0.12 BuildRequires: perl(Perl::MinimumVersion) >= 1.20 BuildRequires: perl(Test::MinimumVersion) >= 0.008 +%endif %description Class::Inspector allows you to get information about a loaded class. @@ -44,7 +45,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_ROOT %check +%if 0%{?perl_bootstrap} make test AUTOMATED_TESTING=1 +%endif %files %defattr(-,root,root,-) @@ -53,6 +56,9 @@ make test AUTOMATED_TESTING=1 %{_mandir}/man3/* %changelog +* Mon Jun 27 2011 Marcela Mašláňová - 1.25-2 +- rebuild with Perl 5.14.1 + * Thu Feb 17 2011 Ralf Corsépius - 1.25-1 - Upstream update.