0c7f167
Name:		perl-Class-C3
28dc8ad
Version:	0.35
ebaa8f8
Release:	6%{?dist}
0c7f167
Summary:	Pragma to use the C3 method resolution order algorithm
0c7f167
License:	GPL+ or Artistic
4099209
URL:		https://metacpan.org/release/Class-C3
28dc8ad
Source0:	https://cpan.metacpan.org/modules/by-module/Class/Class-C3-%{version}.tar.gz
0c7f167
BuildArch:	noarch
0c7f167
# Build
a2af758
BuildRequires:	coreutils
a2af758
BuildRequires:	findutils
a2af758
BuildRequires:	make
08df925
BuildRequires:	perl-generators
3f43d2c
BuildRequires:	perl-interpreter
28dc8ad
BuildRequires:	perl(ExtUtils::MakeMaker)
28dc8ad
BuildRequires:	perl(Text::ParseWords)
a2af758
# Build (dependencies of bundled ExtUtils::HasCompiler)
a2af758
BuildRequires:	perl(base)
a2af758
BuildRequires:	perl(Carp)
a2af758
BuildRequires:	perl(Config)
a2af758
BuildRequires:	perl(DynaLoader)
a2af758
BuildRequires:	perl(Exporter)
a2af758
BuildRequires:	perl(File::Basename)
a2af758
BuildRequires:	perl(File::Spec::Functions)
a2af758
BuildRequires:	perl(File::Temp)
a2af758
BuildRequires:	perl(strict)
a2af758
BuildRequires:	perl(warnings)
80fc9d5
# Module
80fc9d5
BuildRequires:	perl(Algorithm::C3) >= 0.07
80fc9d5
BuildRequires:	perl(Scalar::Util) >= 1.10
0da586c
# Test Suite
28dc8ad
BuildRequires:	perl(Cwd)
2abe1c9
BuildRequires:	perl(File::Glob)
39ca302
BuildRequires:	perl(lib)
39ca302
BuildRequires:	perl(NEXT)
0c7f167
BuildRequires:	perl(Sub::Name)
0c7f167
BuildRequires:	perl(Test::Exception) >= 0.15
39ca302
BuildRequires:	perl(Test::More) >= 0.88
0c7f167
# MRO::Compat itself requires Class::C3
39ca302
%if 0%{!?perl_bootstrap:1}
0c7f167
BuildRequires:	perl(MRO::Compat)
0c7f167
%endif
0da586c
# Dependencies
0c7f167
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
80fc9d5
Requires:	perl(Algorithm::C3) >= 0.07
80fc9d5
Requires:	perl(Scalar::Util) >= 1.10
0c7f167
0c7f167
# Let people "use c3;"
0c7f167
Provides:	perl(c3) = %{version}
0c7f167
Chris Weyl 9014f18
%description
Chris Weyl 7b430a6
This is a pragma to change Perl 5's standard method resolution order from
Chris Weyl 7b430a6
depth-first left-to-right (a.k.a - pre-order) to the more sophisticated C3
Chris Weyl 9014f18
method resolution order.
Chris Weyl 9014f18
Chris Weyl 9014f18
%prep
Chris Weyl 9014f18
%setup -q -n Class-C3-%{version}
Chris Weyl 9014f18
Chris Weyl 9014f18
%build
0c7f167
perl Makefile.PL INSTALLDIRS=vendor
Chris Weyl 9014f18
make %{?_smp_mflags}
Chris Weyl 9014f18
Chris Weyl 9014f18
%install
Chris Weyl 7b430a6
make pure_install DESTDIR=%{buildroot}
d82a6a8
find %{buildroot} -type f -name .packlist -delete
0c7f167
cp -p opt/c3.pm %{buildroot}%{perl_vendorlib}/
3f43d2c
%{_fixperms} -c %{buildroot}
Chris Weyl 9014f18
Chris Weyl 9014f18
%check
Chris Weyl 9014f18
make test
Chris Weyl 9014f18
Chris Weyl 9014f18
%files
34078e8
%doc Changes README
0c7f167
%{perl_vendorlib}/c3.pm
0c7f167
%{perl_vendorlib}/Class/
2abe1c9
%{_mandir}/man3/Class::C3.3*
2abe1c9
%{_mandir}/man3/Class::C3::next.3*
Chris Weyl 9014f18
Chris Weyl 9014f18
%changelog
ebaa8f8
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-6
ebaa8f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
ebaa8f8
9cd02b1
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-5
9cd02b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9cd02b1
8e9822c
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-4
8e9822c
- Perl 5.34 re-rebuild of bootstrapped packages
8e9822c
b179e05
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-3
b179e05
- Perl 5.34 rebuild
b179e05
2cbaf7e
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-2
2cbaf7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2cbaf7e
28dc8ad
* Mon Nov  9 2020 Paul Howarth <paul@city-fan.org> - 0.35-1
28dc8ad
- Update to 0.35
28dc8ad
  - Update bundled ExtUtils::HasCompiler to 0.022
28dc8ad
  - Support PUREPERL_ONLY environment variable during installation
28dc8ad
  - Fix no-XS test to not require newer Test::More that declared prereq
28dc8ad
  - Drop optional Devel::Hide prereq
28dc8ad
- Use author-independent source URL
28dc8ad
1b9e47d
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.34-12
1b9e47d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1b9e47d
eb46a91
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-11
eb46a91
- Perl 5.32 re-rebuild of bootstrapped packages
eb46a91
926f51a
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-10
926f51a
- Perl 5.32 rebuild
926f51a
cea2c50
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.34-9
cea2c50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
cea2c50
c0f5056
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.34-8
c0f5056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c0f5056
9b3aacc
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-7
9b3aacc
- Perl 5.30 re-rebuild of bootstrapped packages
9b3aacc
4c3820d
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-6
4c3820d
- Perl 5.30 rebuild
4c3820d
568020d
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.34-5
568020d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
568020d
e100cf8
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.34-4
e100cf8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e100cf8
96438d8
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-3
96438d8
- Perl 5.28 re-rebuild of bootstrapped packages
96438d8
644e5c9
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-2
644e5c9
- Perl 5.28 rebuild
644e5c9
3f43d2c
* Fri Apr 20 2018 Paul Howarth <paul@city-fan.org> - 0.34-1
3f43d2c
- Update to 0.34
3f43d2c
  - Update bundled ExtUtils::HasCompiler to 0.021
3f43d2c
  - Fix some examples in pod
3f43d2c
03f419c
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.33-5
03f419c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
03f419c
4d9e1b7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.33-4
4d9e1b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4d9e1b7
8f9b0d2
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.33-3
8f9b0d2
- Perl 5.26 re-rebuild of bootstrapped packages
8f9b0d2
b65f0e5
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.33-2
b65f0e5
- Perl 5.26 rebuild
b65f0e5
0da586c
* Mon Apr 24 2017 Paul Howarth <paul@city-fan.org> - 0.33-1
0da586c
- Update to 0.33
0da586c
  - Update bundled ExtUtils::HasCompiler to 0.017
0da586c
  - Moved repository to Moose GitHub org
0da586c
  - Avoid using base.pm in tests (CPAN RT#120530)
0da586c
  - Minor pod and test clean ups
0da586c
c3f9b48
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.32-2
c3f9b48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c3f9b48
faf645d
* Thu Sep 15 2016 Paul Howarth <paul@city-fan.org> - 0.32-1
faf645d
- Update to 0.32
faf645d
  - Update bundled ExtUtils::HasCompiler to 0.016
faf645d
5ebb419
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.31-3
5ebb419
- Perl 5.24 re-rebuild of bootstrapped packages
5ebb419
b8fbd3e
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.31-2
b8fbd3e
- Perl 5.24 rebuild
b8fbd3e
d82a6a8
* Wed Apr 20 2016 Paul Howarth <paul@city-fan.org> - 0.31-1
d82a6a8
- Update to 0.31
d82a6a8
  - Update bundled ExtUtils::HasCompiler to 0.013 to fix possible false
d82a6a8
    negative (CPAN RT#113635)
d82a6a8
- Simplify find command using -delete
d82a6a8
a15a21c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-3
a15a21c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a15a21c
34078e8
* Fri Jan 29 2016 Paul Howarth <paul@city-fan.org> - 0.30-2
34078e8
- Don't ship the tests
34078e8
- Drop requires/provides filters, only needed due to shipping tests
34078e8
a2af758
* Mon Oct 19 2015 Paul Howarth <paul@city-fan.org> - 0.30-1
a2af758
- Update to 0.30
a2af758
  - Update compiler detection to use ExtUtils::HasCompiler
a2af758
176d8cc
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-4
176d8cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
176d8cc
72c42c0
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-3
72c42c0
- Perl 5.22 re-rebuild of bootstrapped packages
72c42c0
92ee0e0
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-2
92ee0e0
- Perl 5.22 rebuild
92ee0e0
2abe1c9
* Tue Apr 14 2015 Paul Howarth <paul@city-fan.org> - 0.28-1
2abe1c9
- Update to 0.28
2abe1c9
  - Change link to Dylan paper to use archive.org, as the original link has
2abe1c9
    gone offline (CPAN RT#99756)
2abe1c9
- Pod tests moved to xt/ so drop build requirements for them
2abe1c9
6075486
* Mon Sep 08 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-3
6075486
- Perl 5.20 re-rebuild of bootstrapped packages
6075486
75cd3bd
* Thu Sep 04 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-2
75cd3bd
- Perl 5.20 rebuild
75cd3bd
e9bb0fe
* Thu Sep  4 2014 Paul Howarth <paul@city-fan.org> - 0.27-1
e9bb0fe
- Update to 0.27:
e9bb0fe
  - Declare minimum perl version of 5.6 in metadata
e9bb0fe
- Upstream ChangeLog renamed to Changes
e9bb0fe
- Upstream dropped visualize_c3.pl utility script
e9bb0fe
2405317
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.26-3
2405317
- Perl 5.20 rebuild
2405317
63166e6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-2
63166e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
63166e6
39ca302
* Wed Mar  5 2014 Paul Howarth <paul@city-fan.org> - 0.26-1
39ca302
- Update to 0.26:
39ca302
  - Fix bug in Makefile.PL when ExtUtils::CBuilder not available
39ca302
- This release by HAARG -> update source URL
39ca302
- Clean up for modern rpmbuild since build requirements are not available in
39ca302
  EL-5
39ca302
- Drop obsoletes/provides for old tests sub-package
39ca302
- Drop unnecessary %%perl_ext_env_unset macro usage
39ca302
- Add optional test requirements
39ca302
e2803f8
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-4
e2803f8
- Perl 5.18 re-rebuild of bootstrapped packages
e2803f8
1350b2b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-3
1350b2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1350b2b
9e90ed6
* Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 0.25-2
9e90ed6
- Perl 5.18 rebuild
9e90ed6
79b6f01
* Thu Jul  4 2013 Paul Howarth <paul@city-fan.org> - 0.25-1
79b6f01
- Update to 0.25:
79b6f01
  - Drop compatibility from 5.6.2 to 5.6.0
79b6f01
  - Pod typo fixes (CPAN RT#77453, CPAN RT#85357)
79b6f01
  - Only ask for Devel::Hide on perls where it will be actually used
79b6f01
    (CPAN RT#81106)
79b6f01
  - Fix SYNOPSIS to actually be executable (CPAN RT#78327)
79b6f01
- This release by MSTROUT -> update source URL
79b6f01
- BR: perl(ExtUtils::CBuilder) and perl(File::Glob)
79b6f01
- Bump perl(Class::C3::XS) version requirement to 0.13
79b6f01
abcce88
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-5
abcce88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
abcce88
7f2ef20
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-4
7f2ef20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7f2ef20
b138c0e
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.24-3
b138c0e
- Perl 5.16 re-rebuild of bootstrapped packages
b138c0e
793b7a6
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 0.24-2
793b7a6
- Perl 5.16 rebuild
793b7a6
80fc9d5
* Sat May 12 2012 Paul Howarth <paul@city-fan.org> - 0.24-1
80fc9d5
- Update to 0.24:
80fc9d5
  - Require Class::C3::XS on 5.8 perls if a working compiler is found
80fc9d5
- Bump Algorithm::C3 version requirement to 0.07
80fc9d5
- Always BR:/R: Algorithm::C3 and Scalar::Util
80fc9d5
- Don't need to remove empty directories from buildroot
80fc9d5
dda7950
* Sat Jan 21 2012 Paul Howarth <paul@city-fan.org> - 0.23-5
dda7950
- Obsolete/provide old -tests subpackage to support upgrades
dda7950
0c7f167
* Wed Jan 18 2012 Paul Howarth <paul@city-fan.org> - 0.23-4
0c7f167
- Reinstate compatibility with older distributions like EL-5
0c7f167
- Drop -tests subpackage (general lack of interest in this), but include
0c7f167
  them as documentation for the main package
0c7f167
- BR: perl(MRO::Compat) for testing if we're not bootstrapping
0c7f167
- Don't use macros for commands
0c7f167
- Make %%files list more explicit
0c7f167
- Filter unwanted requires and provides
0c7f167
- Use tabs
0c7f167
44b53ed
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-3
44b53ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
44b53ed
d4daa39
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.23-2
d4daa39
- Perl mass rebuild
d4daa39
0c7f167
* Sun Mar 13 2011 Iain Arnell <iarnell@gmail.com> - 0.23-1
0c7f167
- Update to latest upstream version
0c7f167
- Clean up spec for modern rpmbuild
0c7f167
- No more need to disable __perl_provides
7c2461c
553d6e6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-6
553d6e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
553d6e6
fa84df9
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-5
0c7f167
- Rebuild to fix problems with vendorarch/lib (#661697)
fa84df9
0c7f167
* Sat May 15 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.22-4
0c7f167
- Bump
Chris Weyl 0cef104
0c7f167
* Sat May 15 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.22-3
0c7f167
- Install c3.pm as well; drop opt/ from doc
0c7f167
- Conditionalise
Chris Weyl f0b1cbe
e09fd84
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-2
e09fd84
- Mass rebuild with perl-5.12.0
e09fd84
0c7f167
* Sat Feb 06 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.22-1
Chris Weyl 7b430a6
- PERL_INSTALL_ROOT => DESTDIR
0c7f167
- Add perl_default_subpackage_tests, and drop t/ from doc
0c7f167
- Add perl_default_filter (and update filtering)
0c7f167
- Auto-update to 0.22 (by cpan-spec-update 0.01)
0c7f167
- Altered br on perl(ExtUtils::MakeMaker) (0 => 6.42)
0c7f167
- Added a new br on perl(Scalar::Util) (version 1.10)
0c7f167
- Altered br on perl(Test::More) (0 => 0.47)
0c7f167
- Added a new req on perl(Scalar::Util) (version 1.10)
Chris Weyl 7b430a6
3ff74d1
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.21-3
0c7f167
- Rebuild against perl 5.10.1
3ff74d1
5b5aa6c
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2
5b5aa6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5b5aa6c
0c7f167
* Thu Apr 02 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.21-1
0c7f167
- Update to 0.21
Chris Weyl 8409c1a
13dbbcb
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-2
13dbbcb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
13dbbcb
0c7f167
* Sun Jan 25 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.20-1
0c7f167
- Update to 0.20
Chris Weyl d8ccd54
0c7f167
* Tue Mar  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.19-2
0c7f167
- Rebuild for new perl
bc65e13
0c7f167
* Wed Oct 10 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.19-1
0c7f167
- Update to 0.19
Chris Weyl f8831e2
0c7f167
* Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.18-1
0c7f167
- Update to 0.18
Chris Weyl 8a13ddb
0c7f167
* Wed May 09 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.17-1
0c7f167
- Update to 0.17
Chris Weyl 7827528
- BR Class::C3::XS
Chris Weyl 7827528
0c7f167
* Mon Sep 25 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.14-1
0c7f167
- Update to 0.14
Chris Weyl a2ca005
0c7f167
* Tue Sep 19 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.13-4
0c7f167
- Fix autoprovides (#205801)
Chris Weyl f74fa98
0c7f167
* Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.13-3
0c7f167
- Bump
Chris Weyl dd1c029
0c7f167
* Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.13-2
0c7f167
- Additional br's, minor spec tweaks
Chris Weyl 9014f18
0c7f167
* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.13-1
0c7f167
- Specfile autogenerated by cpanspec 1.69.1