31fc207
Name:		perl-Class-Load-XS
70ab9fc
Version:	0.10
cf0e978
Release:	4%{?dist}
31fc207
Summary:	XS implementation of parts of Class::Load
31fc207
License:	Artistic 2.0
31fc207
URL:		http://search.cpan.org/dist/Class-Load-XS/
2b10f87
Source0:	http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Load-XS-%{version}.tar.gz
31fc207
# ===================================================================
31fc207
# Module build requirements
31fc207
# ===================================================================
85871a0
BuildRequires:	coreutils
85871a0
BuildRequires:	findutils
85871a0
BuildRequires:	gcc
85871a0
BuildRequires:	make
46cd74d
BuildRequires:	perl-interpreter
85871a0
BuildRequires:	perl-devel
fbe2fa0
BuildRequires:	perl-generators
16b1c46
BuildRequires:	perl(ExtUtils::MakeMaker)
31fc207
# ===================================================================
31fc207
# Module requirements
31fc207
# ===================================================================
917540e
BuildRequires:	perl(Class::Load) >= 0.20
16b1c46
BuildRequires:	perl(strict)
16b1c46
BuildRequires:	perl(warnings)
2b10f87
BuildRequires:	perl(XSLoader)
31fc207
# ===================================================================
31fc207
# Regular test suite requirements
31fc207
# ===================================================================
3f3181d
BuildRequires:	perl(constant)
16b1c46
BuildRequires:	perl(CPAN::Meta) >= 2.120900
16b1c46
BuildRequires:	perl(CPAN::Meta::Prereqs)
16b1c46
BuildRequires:	perl(File::Spec)
2b10f87
BuildRequires:	perl(lib)
3f3181d
BuildRequires:	perl(Module::Implementation) >= 0.04
31fc207
BuildRequires:	perl(Test::Fatal)
2b10f87
BuildRequires:	perl(Test::More) >= 0.88
70ab9fc
BuildRequires:	perl(Test::Needs)
3f3181d
BuildRequires:	perl(Test::Without::Module)
3f3181d
BuildRequires:	perl(version)
31fc207
# ===================================================================
31fc207
# Runtime requirements
31fc207
# ===================================================================
31fc207
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
31fc207
31fc207
%{?perl_default_filter}
31fc207
31fc207
%description
31fc207
This module provides an XS implementation for portions of Class::Load.
31fc207
See Class::Load for API details.
31fc207
31fc207
%prep
31fc207
%setup -q -n Class-Load-XS-%{version}
31fc207
31fc207
%build
474fae0
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
474fae0
make %{?_smp_mflags}
31fc207
31fc207
%install
474fae0
make pure_install DESTDIR=%{buildroot}
85871a0
find %{buildroot} -type f -name .packlist -delete
85871a0
find %{buildroot} -type f -name '*.bs' -empty -delete
f38a408
%{_fixperms} -c %{buildroot}
31fc207
31fc207
%check
474fae0
make test
31fc207
31fc207
%files
16b1c46
%license LICENSE
16b1c46
%doc Changes CONTRIBUTING README
31fc207
%{perl_vendorarch}/auto/Class/
31fc207
%{perl_vendorarch}/Class/
85871a0
%{_mandir}/man3/Class::Load::XS.3*
31fc207
31fc207
%changelog
cf0e978
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-4
cf0e978
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
cf0e978
15d7336
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-3
15d7336
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
15d7336
099d178
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-2
099d178
- Perl 5.26 rebuild
099d178
70ab9fc
* Tue Apr 11 2017 Paul Howarth <paul@city-fan.org> - 0.10-1
70ab9fc
- Update to 0.10
70ab9fc
  - Fix test to handle altered Test::Without::Module exception message
70ab9fc
f38a408
* Fri Apr  7 2017 Paul Howarth <paul@city-fan.org> - 0.09-8
f38a408
- Fix FTBFS with Test::Without::Module ≥ 0.19
f38a408
  (https://github.com/moose/Class-Load/pull/2)
f38a408
7d55a1c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-7
7d55a1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7d55a1c
cebfe61
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-6
cebfe61
- Perl 5.24 rebuild
cebfe61
85871a0
* Thu Apr 21 2016 Paul Howarth <paul@city-fan.org> - 0.09-5
85871a0
- Fix FTBFS due to missing buildreq perl-devel
85871a0
- Simplify find commands using -empty and -delete
85871a0
13a2c50
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-4
13a2c50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
13a2c50
cb0a10f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-3
cb0a10f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cb0a10f
b221c80
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-2
b221c80
- Perl 5.22 rebuild
b221c80
16b1c46
* Thu Nov 13 2014 Paul Howarth <paul@city-fan.org> - 0.09-1
16b1c46
- Updated to 0.09
16b1c46
  - Optimized some perl API calls
16b1c46
- Use %%license
16b1c46
1988acb
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-4
1988acb
- Perl 5.20 rebuild
1988acb
efe41d8
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-3
efe41d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
efe41d8
2e8ce46
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-2
2e8ce46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2e8ce46
474fae0
* Thu Feb 13 2014 Paul Howarth <paul@city-fan.org> - 0.08-1
474fae0
- Update to 0.08:
474fae0
  - Switched packaging to just EUMM, as MBT wants the .xs file in a different
474fae0
    place
474fae0
- Switch to ExtUtils::MakeMaker flow
474fae0
2b10f87
* Thu Feb 13 2014 Paul Howarth <paul@city-fan.org> - 0.07-1
2b10f87
- Update to 0.07:
2b10f87
  - Repository moved to the github moose organization
2b10f87
- This release by ETHER -> update source URL
2b10f87
- Switch to Module::Build::Tiny flow
2b10f87
- Package upstream's CONTRIBUTING and README.md files
2b10f87
- Don't need to remove empty directories from the buildroot
2b10f87
- Don't bother with the author/release tests
2b10f87
db7332b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-4
db7332b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
db7332b
b3ed385
* Tue Jul 30 2013 Petr Pisar <ppisar@redhat.com> - 0.06-3
b3ed385
- Perl 5.18 rebuild
b3ed385
a6ce1cc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-2
a6ce1cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a6ce1cc
917540e
* Mon Oct  8 2012 Paul Howarth <paul@city-fan.org> - 0.06-1
917540e
- Update to 0.06:
917540e
  - Require Class::Load 0.20 in the code, not just the distro metadata
917540e
    (CPAN RT#80002)
917540e
  - Weird classes with either an ISA or VERSION constant would cause the XS to
917540e
    blow up badly (CPAN RT#79998)
917540e
  - Fixed some broken logic that lead to a segfault from the
917540e
    014-weird-constants.t test on some Perls (CPAN RT#80059)
917540e
- Bump perl(Class::Load) version requirement to 0.20
917540e
- Drop explicit requirement for perl(Class::Load), no longer needed
917540e
43f5e95
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-3
43f5e95
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
43f5e95
71f98bc
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 0.04-2
71f98bc
- Perl 5.16 rebuild
71f98bc
3f3181d
* Thu Feb  9 2012 Paul Howarth <paul@city-fan.org> - 0.04-1
3f3181d
- Update to 0.04:
3f3181d
  - Some small test changes for the latest Module::Implementation and
3f3181d
    Class::Load
3f3181d
- Bump Class::Load version requirement to 0.15
3f3181d
- BR: perl(constant), perl(Module::Implementation) ≥ 0.04, 
3f3181d
  perl(Test::Requires), perl(Test::Without::Module) and perl(version) for test 
3f3181d
  suite
3f3181d
c660ad3
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.03-2
c660ad3
- Rebuild for gcc 4.7 in Rawhide
c660ad3
31fc207
* Fri Nov 18 2011 Paul Howarth <paul@city-fan.org> - 0.03-1
31fc207
- Update to 0.03:
31fc207
  - Explicitly include Test::Fatal as a test prerequisite (CPAN RT#72493)
31fc207
31fc207
* Wed Nov 16 2011 Paul Howarth <paul@city-fan.org> - 0.02-2
31fc207
- Sanitize spec for Fedora submission
31fc207
31fc207
* Wed Nov 16 2011 Paul Howarth <paul@city-fan.org> - 0.02-1
31fc207
- Initial RPM version