Author: cweyl Update of /cvs/extras/rpms/perl-Class-C3-Adopt-NEXT/F-10 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv779/F-10 Modified Files: .cvsignore sources Added Files: import.log perl-Class-C3-Adopt-NEXT.spec Log Message: initial import --- NEW FILE import.log --- perl-Class-C3-Adopt-NEXT-0_06-1_fc10:F-10:perl-Class-C3-Adopt-NEXT-0.06-1.fc10.src.rpm:1234556606 --- NEW FILE perl-Class-C3-Adopt-NEXT.spec --- Name: perl-Class-C3-Adopt-NEXT Version: 0.06 Release: 1%{?dist} # lib/Class/C3/Adopt/NEXT.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Reduce one's dependency on NEXT Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Class-C3-Adopt-NEXT-%{version}.tar.gz Url: http://search.cpan.org/dist/Class-C3-Adopt-NEXT BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(MRO::Compat) BuildRequires: perl(NEXT) # test BuildRequires: perl(Test::More) BuildRequires: perl(Test::Exception) %description NEXT was a good solution a few years ago, but isn't any more. It's slow, and the order in which it re-dispatches methods appears random at times. It also encourages bad programming practices, as you end up with code to redispatch methods when all you really wanted to do was run some code before or after a method fired. However, if you have a large application, then weaning yourself off 'NEXT' isn't easy.This module is intended as a drop-in replacement for NEXT, supporting the same interface, but using Class::C3 to do the hard work. You can then write new code without 'NEXT', and migrate individual source files to use 'Class::C3' or method modifiers as appropriate, at whatever pace you're comfortable with. %prep %setup -q -n Class-C3-Adopt-NEXT-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Tue Feb 10 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.06-1 - brush up for submission * Tue Feb 10 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.06-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-Class-C3-Adopt-NEXT/F-10/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 13 Feb 2009 07:00:04 -0000 1.1 +++ .cvsignore 13 Feb 2009 20:23:30 -0000 1.2 @@ -0,0 +1 @@ +Class-C3-Adopt-NEXT-0.06.tar.gz Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-Class-C3-Adopt-NEXT/F-10/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 13 Feb 2009 07:00:04 -0000 1.1 +++ sources 13 Feb 2009 20:23:30 -0000 1.2 @@ -0,0 +1 @@ +bff4d7a48dd6ee28f182c7ac2095d6d5 Class-C3-Adopt-NEXT-0.06.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list