diff --git a/.cvsignore b/.cvsignore index 98034f3..989a0c2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Class-C3-0.21.tar.gz +Class-C3-0.22.tar.gz diff --git a/perl-Class-C3.spec b/perl-Class-C3.spec index 34d22dd..52877da 100644 --- a/perl-Class-C3.spec +++ b/perl-Class-C3.spec @@ -1,12 +1,11 @@ Name: perl-Class-C3 -Version: 0.21 -Release: 3%{?dist} +Version: 0.22 +Release: 1%{?dist} Summary: Pragma to use the C3 method resolution order algorithm License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Class-C3/ -Source0: http://www.cpan.org/authors/id/F/FL/FLORA/Class-C3-%{version}.tar.gz -#Source0: http://www.cpan.org/authors/id/B/BL/BLBLACK/Class-C3-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Class-C3-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -15,41 +14,34 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi %define __perl_provides %{nil} Provides: perl(Class::C3) = %{version} -# core -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Test::More) -# cpan +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(Algorithm::C3) >= 0.06 BuildRequires: perl(Class::C3::XS) >= 0.07 BuildRequires: perl(Test::Exception) >= 0.15 +BuildRequires: perl(Scalar::Util) >= 1.10 # testing... -BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Class::C3) BuildRequires: perl(Sub::Name) -# missed! Requires: perl(Algorithm::C3) >= 0.06 +Requires: perl(Scalar::Util) >= 1.10 # strictly speaking, this is optional. However, speed is always nice :) Requires: perl(Class::C3::XS) >= 0.07 +%{?perl_default_filter} +%{?perl_default_subpackage_tests} + %description -This is a pragma to change Perl 5's standard method resolution order from -depth-first left-to-right (a.k.a - pre-order) to the more sophisticated C3 +This is a pragma to change Perl 5's standard method resolution order from +depth-first left-to-right (a.k.a - pre-order) to the more sophisticated C3 method resolution order. %prep %setup -q -n Class-C3-%{version} -# Filter unwanted Requires: -cat << \EOF > %{name}-req -#!/bin/sh -%{__perl_requires} $* |\ - sed -e '/perl(c3)/d; /perl(base)/d' -EOF - -%define __perl_requires %{_builddir}/Class-C3-%{version}/%{name}-req -chmod +x %{__perl_requires} - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -57,7 +49,7 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; @@ -71,11 +63,21 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc ChangeLog README opt/ util/ t/ +%doc ChangeLog README opt/ util/ %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Sat Feb 06 2010 Chris Weyl 0.22-1 +- PERL_INSTALL_ROOT => DESTDIR +- add perl_default_subpackage_tests, and drop t/ from doc +- add perl_default_filter (and update filtering) +- auto-update to 0.22 (by cpan-spec-update 0.01) +- altered br on perl(ExtUtils::MakeMaker) (0 => 6.42) +- added a new br on perl(Scalar::Util) (version 1.10) +- altered br on perl(Test::More) (0 => 0.47) +- added a new req on perl(Scalar::Util) (version 1.10) + * Mon Dec 7 2009 Stepan Kasal - 0.21-3 - rebuild against perl 5.10.1 diff --git a/sources b/sources index cbc1549..7037e58 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ce6306b7a1607c239977b823b89863a6 Class-C3-0.21.tar.gz +9b5ad010984a7d276d13b91151e2183d Class-C3-0.22.tar.gz