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