5c97e2
Name:		perl-parent
5c97e2
Epoch:		1
5c97e2
Version:	0.238
5c97e2
Release:	457%{?dist}
5c97e2
Summary:	Establish an ISA relationship with base classes at compile time
5c97e2
License:	GPL+ or Artistic
5c97e2
URL:		https://metacpan.org/release/parent
5c97e2
Source0:	https://cpan.metacpan.org/authors/id/C/CO/CORION/parent-%{version}.tar.gz
5c97e2
BuildArch:	noarch
5c97e2
# Module Build
5c97e2
BuildRequires:	coreutils
5c97e2
BuildRequires:	findutils
5c97e2
BuildRequires:	make
5c97e2
BuildRequires:	perl-generators
5c97e2
BuildRequires:	perl-interpreter
5c97e2
BuildRequires:	perl(ExtUtils::MakeMaker)
5c97e2
# Module Runtime
5c97e2
BuildRequires:	perl(strict)
5c97e2
# Test Suite
5c97e2
BuildRequires:	perl(lib)
5c97e2
BuildRequires:	perl(Test::More) >= 0.40
5c97e2
# Dependencies
5c97e2
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
5c97e2
5c97e2
%description
5c97e2
Allows you to both load one or more modules, while setting up inheritance
5c97e2
from those modules at the same time. Mostly similar in effect to:
5c97e2
5c97e2
	package Baz;
5c97e2
5c97e2
	BEGIN {
5c97e2
		require Foo;
5c97e2
		require Bar;
5c97e2
5c97e2
		push @ISA, qw(Foo Bar);
5c97e2
	}
5c97e2
5c97e2
%prep
5c97e2
%setup -q -n parent-%{version}
5c97e2
5c97e2
%build
5c97e2
perl Makefile.PL INSTALLDIRS=vendor
5c97e2
make %{?_smp_mflags}
5c97e2
5c97e2
%install
5c97e2
make pure_install DESTDIR=%{buildroot}
5c97e2
find %{buildroot} -type f -name .packlist -delete
5c97e2
%{_fixperms} -c %{buildroot}
5c97e2
5c97e2
%check
5c97e2
make test
5c97e2
5c97e2
%files
5c97e2
%doc Changes
5c97e2
%{perl_vendorlib}/parent.pm
5c97e2
%{_mandir}/man3/parent.3*
5c97e2
5c97e2
%changelog
5c97e2
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.238-457
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5c97e2
5c97e2
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.238-456
5c97e2
- Increase release to favour standalone package
5c97e2
5c97e2
* Fri Feb  7 2020 Paul Howarth <paul@city-fan.org> - 1:0.238-1
5c97e2
- Update to 0.238
5c97e2
  - Move the prerequisite Test::More from being a runtime prerequisite to a
5c97e2
    test time / build time prerequisite (GH#11)
5c97e2
5c97e2
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.237-440
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5c97e2
5c97e2
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.237-439
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5c97e2
5c97e2
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.237-438
5c97e2
- Increase release to favour standalone package
5c97e2
5c97e2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.237-3
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5c97e2
5c97e2
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.237-2
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5c97e2
5c97e2
* Sat Jul  7 2018 Paul Howarth <paul@city-fan.org> - 1:0.237-1
5c97e2
- Update to 0.237
5c97e2
  - Don't load vars.pm (Perl RT#132077)
5c97e2
- Drop legacy Group: tag
5c97e2
- Drop buildroot cleaning in %%install section
5c97e2
5c97e2
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.236-416
5c97e2
- Increase release to favour standalone package
5c97e2
5c97e2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.236-395
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5c97e2
5c97e2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.236-394
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5c97e2
5c97e2
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.236-393
5c97e2
- Perl 5.26 rebuild
5c97e2
5c97e2
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.236-2
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5c97e2
5c97e2
* Mon Oct 10 2016 Paul Howarth <paul@city-fan.org> - 1:0.236-1
5c97e2
- Update to 0.236
5c97e2
  - Add Travis test configuration
5c97e2
  - Make test for PMC availability more reliable
5c97e2
  - Disable benchmark test rt62341.t as it runs out of memory on many smoker
5c97e2
    systems (CPAN RT#118310)
5c97e2
- Simplify find command using -delete
5c97e2
5c97e2
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.234-365
5c97e2
- Increase release to favour standalone package
5c97e2
5c97e2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.234-4
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5c97e2
5c97e2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.234-3
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5c97e2
5c97e2
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.234-2
5c97e2
- Perl 5.22 rebuild
5c97e2
5c97e2
* Thu May 28 2015 Paul Howarth <paul@city-fan.org> - 1:0.234-1
5c97e2
- Update to 0.234
5c97e2
  - Fix the test for PMC loading to work on versions on Perl that don't have
5c97e2
    Config::non_bincompat_options (CPAN RT#102626)
5c97e2
5c97e2
* Tue May 26 2015 Paul Howarth <paul@city-fan.org> - 1:0.233-1
5c97e2
- Update to 0.233
5c97e2
  - The diagnostic about inheriting from ourselves was removed; it served no
5c97e2
    purpose as Perl already warns if we try to inherit in a circular way
5c97e2
5c97e2
* Fri Mar 20 2015 Paul Howarth <paul@city-fan.org> - 1:0.232-1
5c97e2
- Update to 0.232
5c97e2
  - Change line-endings in parent-pmc.t to unix EOLs so that bleadperl is happy
5c97e2
5c97e2
* Tue Mar 10 2015 Paul Howarth <paul@city-fan.org> - 1:0.231-1
5c97e2
- Update to 0.231
5c97e2
  - Restore test compatibility where Perl does not provide
5c97e2
    &Config::non_bincompat_options (CPAN RT#102626)
5c97e2
5c97e2
* Sat Mar  7 2015 Paul Howarth <paul@city-fan.org> - 1:0.229-1
5c97e2
- Update to 0.229
5c97e2
  - Add link to (Github) repository
5c97e2
  - Guard tests against PERL_DISABLE_PMC
5c97e2
5c97e2
* Tue Jan 13 2015 Petr Pisar <ppisar@redhat.com> - 1:0.228-311
5c97e2
- Specify all dependencies
5c97e2
5c97e2
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.228-310
5c97e2
- Increase release to favour standalone package
5c97e2
5c97e2
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.228-3
5c97e2
- Perl 5.20 rebuild
5c97e2
5c97e2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.228-2
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5c97e2
5c97e2
* Tue Sep 17 2013 Paul Howarth <paul@city-fan.org> - 1:0.228-1
5c97e2
- Update to 0.228
5c97e2
  - Install in site/ by default for 5.12+ (CPAN RT#88450)
5c97e2
5c97e2
* Sun Sep  1 2013 Paul Howarth <paul@city-fan.org> - 1:0.227-1
5c97e2
- Update to 0.227
5c97e2
  - Restore tests passing for 5.17.5+ (CPAN RT#88320)
5c97e2
5c97e2
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.226-2
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5c97e2
5c97e2
* Mon Jul 29 2013 Paul Howarth <paul@city-fan.org> - 1:0.226-1
5c97e2
- Update to 0.226
5c97e2
  - Fix tests for Perl 5.18 (CPAN RT#86890)
5c97e2
5c97e2
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:0.225-290
5c97e2
- Increase release to favour standalone package
5c97e2
5c97e2
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:0.225-245
5c97e2
- Link minimal build-root packages against libperl.so explicitly
5c97e2
5c97e2
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:0.225-244
5c97e2
- Adjust tests to perl-5.18 (CPAN RT#86890)
5c97e2
5c97e2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.225-243
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5c97e2
5c97e2
* Sat Aug 25 2012 Paul Howarth <paul@city-fan.org> - 1:0.225-242
5c97e2
- Don't need to remove empty directories from the buildroot
5c97e2
- Drop %%defattr, redundant since rpm 4.4
5c97e2
5c97e2
* Wed Aug 15 2012 Petr Pisar <ppisar@redhat.com> - 1:0.225-241
5c97e2
- Specify all dependencies
5c97e2
5c97e2
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.225-240
5c97e2
- Bump release to override sub-package from perl.spec
5c97e2
5c97e2
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.225-8
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5c97e2
5c97e2
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1:0.225-7
5c97e2
- Perl 5.16 rebuild
5c97e2
5c97e2
* Tue Feb  7 2012 Paul Howarth <paul@city-fan.org> - 1:0.225-6
5c97e2
- Reinstate compatibility with old distributions like EL-5
5c97e2
  - Add back buildroot definition and cleaning
5c97e2
- Use DESTDIR rather than PERL_INSTALL_ROOT
5c97e2
- Make %%files list more explicit
5c97e2
- Drop redundant %%{?perl_default_filter}
5c97e2
- Don't use macros for commands
5c97e2
- Use tabs
5c97e2
5c97e2
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.225-5
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5c97e2
5c97e2
* Wed Aug 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.225-4
5c97e2
- Install to vendor directories rather than perl core directories so as to
5c97e2
  avoid conflicts between our debuginfo and the main perl-debuginfo package
5c97e2
5c97e2
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.225-3
5c97e2
- Perl mass rebuild
5c97e2
5c97e2
* Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.225-2
5c97e2
- Perl mass rebuild
5c97e2
5c97e2
* Sat May 07 2011 Iain Arnell <iarnell@gmail.com> - 1:0.225-1
5c97e2
- Update to latest upstream version
5c97e2
- Clean up spec for modern rpmbuild
5c97e2
5c97e2
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.224-2
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5c97e2
5c97e2
* Sun Nov 21 2010 Iain Arnell <iarnell@gmail.com> - 1:0.224-1
5c97e2
- Update to latest upstream version
5c97e2
5c97e2
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.223-4
5c97e2
- Mass rebuild with perl-5.12.0
5c97e2
5c97e2
* Sat Mar 27 2010 Iain Arnell <iarnell@gmail.com> - 1:0.223-3
5c97e2
- Dual-life module
5c97e2
- Add epoch to match that of parent in core
5c97e2
- Use core macros, not vendor
5c97e2
5c97e2
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.223-2
5c97e2
- Rebuild against perl 5.10.1
5c97e2
5c97e2
* Fri Sep 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.223-1
5c97e2
- Update filtering
5c97e2
- Auto-update to 0.223 (by cpan-spec-update 0.01)
5c97e2
- Altered br on perl(Test::More) (0 => 0.4)
5c97e2
5c97e2
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.221-4
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5c97e2
5c97e2
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.221-3
5c97e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5c97e2
5c97e2
* Thu Jun 19 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.221-2
5c97e2
- Bump
5c97e2
5c97e2
* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.221-1
5c97e2
- Specfile autogenerated by cpanspec 1.75