Author: cweyl Update of /cvs/extras/rpms/perl-Class-C3/F-12 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9987 Modified Files: perl-Class-C3.spec sources Log Message: * Sat Feb 06 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 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) Index: perl-Class-C3.spec =================================================================== RCS file: /cvs/extras/rpms/perl-Class-C3/F-12/perl-Class-C3.spec,v retrieving revision 1.12 retrieving revision 1.13 diff -u -p -r1.12 -r1.13 --- perl-Class-C3.spec 26 Jul 2009 04:21:50 -0000 1.12 +++ perl-Class-C3.spec 6 Feb 2010 10:26:40 -0000 1.13 @@ -1,12 +1,11 @@ Name: perl-Class-C3 -Version: 0.21 -Release: 2%{?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_%(ev %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,24 @@ 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 <cweyl@xxxxxxxxxxxxxxx> 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 <skasal@xxxxxxxxxx> - 0.21-3 +- rebuild against perl 5.10.1 + * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-Class-C3/F-12/sources,v retrieving revision 1.8 retrieving revision 1.9 diff -u -p -r1.8 -r1.9 --- sources 2 Apr 2009 07:10:19 -0000 1.8 +++ sources 6 Feb 2010 10:26:40 -0000 1.9 @@ -1 +1 @@ -ce6306b7a1607c239977b823b89863a6 Class-C3-0.21.tar.gz +9b5ad010984a7d276d13b91151e2183d Class-C3-0.22.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel