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