Name: perl-Class-C3-Adopt-NEXT Version: 0.14 Release: 23%{?dist} License: GPL+ or Artistic Summary: Reduce one's dependency on NEXT Source: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-C3-Adopt-NEXT-%{version}.tar.gz Url: https://metacpan.org/release/Class-C3-Adopt-NEXT BuildArch: noarch # Build BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime BuildRequires: perl(List::Util) >= 1.33 BuildRequires: perl(MRO::Compat) BuildRequires: perl(NEXT) BuildRequires: perl(warnings::register) # Tests only BuildRequires: perl(base) BuildRequires: perl(File::Spec) BuildRequires: perl(lib) BuildRequires: perl(Test::Exception) >= 0.27 BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %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 NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* %check make test %files %license LICENSE %doc Changes CONTRIBUTING README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.14-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.14-22 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.14-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.14-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.14-19 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.14-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.14-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.14-16 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.14-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.14-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.14-13 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.14-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.14-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.14-10 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.14-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.14-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.14-7 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.14-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.14-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.14-2 - Perl 5.22 rebuild * Thu Jun 04 2015 Petr Šabata - 0.14-1 - 0.14 bump - Update source URL - Modernize the SPEC * Fri Aug 29 2014 Jitka Plesnikova - 0.13-12 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.13-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.13-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jul 26 2013 Petr Pisar - 0.13-9 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.13-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.13-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 19 2012 Petr Pisar - 0.13-6 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.13-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 21 2011 Marcela Mašláňová - 0.13-4 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 15 2010 Marcela Maslanova - 0.13-2 - 661697 rebuild for fixing problems with vendorach/lib * Tue Jun 1 2010 Marcela Maslanova - 0.13-1 - update * Fri Apr 30 2010 Marcela Maslanova - 0.12-4 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.12-3 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Jun 16 2009 Chris Weyl 0.12-1 - auto-update to 0.12 (by cpan-spec-update 0.01) * Sat May 23 2009 Chris Weyl 0.11-2 - README no longer present * Sat May 23 2009 Chris Weyl 0.11-1 - auto-update to 0.11 (by cpan-spec-update 0.01) * Sun May 17 2009 Chris Weyl 0.10-1 - auto-update to 0.10 (by cpan-spec-update 0.01) - altered br on perl(Test::Exception) (0 => 0.27) * Thu Feb 26 2009 Fedora Release Engineering - 0.07-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Feb 22 2009 Chris Weyl 0.07-1 - update to 0.07 * Tue Feb 10 2009 Chris Weyl 0.06-1 - brush up for submission * Tue Feb 10 2009 Chris Weyl 0.06-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)