|
|
ad3c42 |
%{?scl:%scl_package perl-parent}
|
|
|
ad3c42 |
|
|
|
ad3c42 |
Name: %{?scl_prefix}perl-parent
|
|
|
ad3c42 |
Epoch: 1
|
|
|
ad3c42 |
Version: 0.228
|
|
|
ad3c42 |
Release: 311%{?dist}
|
|
|
ad3c42 |
Summary: Establish an ISA relationship with base classes at compile time
|
|
|
ad3c42 |
License: GPL+ or Artistic
|
|
|
ad3c42 |
Group: Development/Libraries
|
|
|
ad3c42 |
URL: http://search.cpan.org/dist/parent/
|
|
|
ad3c42 |
Source0: http://search.cpan.org/CPAN/authors/id/C/CO/CORION/parent-%{version}.tar.gz
|
|
|
ad3c42 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
ad3c42 |
BuildArch: noarch
|
|
|
ad3c42 |
BuildRequires: %{?scl_prefix}perl
|
|
|
ad3c42 |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker)
|
|
|
ad3c42 |
# Run-time:
|
|
|
ad3c42 |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
ad3c42 |
BuildRequires: %{?scl_prefix}perl(vars)
|
|
|
ad3c42 |
# Tests:
|
|
|
ad3c42 |
BuildRequires: %{?scl_prefix}perl(lib)
|
|
|
ad3c42 |
BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.4
|
|
|
ad3c42 |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
ad3c42 |
|
|
|
ad3c42 |
%description
|
|
|
ad3c42 |
Allows you to both load one or more modules, while setting up inheritance
|
|
|
ad3c42 |
from those modules at the same time. Mostly similar in effect to:
|
|
|
ad3c42 |
|
|
|
ad3c42 |
package Baz;
|
|
|
ad3c42 |
|
|
|
ad3c42 |
BEGIN {
|
|
|
ad3c42 |
require Foo;
|
|
|
ad3c42 |
require Bar;
|
|
|
ad3c42 |
|
|
|
ad3c42 |
push @ISA, qw(Foo Bar);
|
|
|
ad3c42 |
}
|
|
|
ad3c42 |
|
|
|
ad3c42 |
%prep
|
|
|
ad3c42 |
%setup -q -n parent-%{version}
|
|
|
ad3c42 |
|
|
|
ad3c42 |
# Remove spurious exec permissions
|
|
|
ad3c42 |
chmod -c -x Changes lib/parent.pm
|
|
|
ad3c42 |
|
|
|
ad3c42 |
%build
|
|
|
ad3c42 |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
|
|
|
ad3c42 |
|
|
|
ad3c42 |
%install
|
|
|
ad3c42 |
rm -rf %{buildroot}
|
|
|
ad3c42 |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
|
|
|
ad3c42 |
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
ad3c42 |
%{_fixperms} %{buildroot}
|
|
|
ad3c42 |
|
|
|
ad3c42 |
%check
|
|
|
ad3c42 |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
ad3c42 |
|
|
|
ad3c42 |
%clean
|
|
|
ad3c42 |
rm -rf %{buildroot}
|
|
|
ad3c42 |
|
|
|
ad3c42 |
%files
|
|
|
ad3c42 |
%doc Changes
|
|
|
ad3c42 |
%{perl_vendorlib}/parent.pm
|
|
|
ad3c42 |
%{_mandir}/man3/parent.3pm*
|
|
|
ad3c42 |
|
|
|
ad3c42 |
%changelog
|
|
|
ad3c42 |
* Tue Jan 13 2015 Petr Pisar <ppisar@redhat.com> - 1:0.228-311
|
|
|
ad3c42 |
- Specify all dependencies
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.228-310
|
|
|
ad3c42 |
- Increase release to favour standalone package
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.228-3
|
|
|
ad3c42 |
- Perl 5.20 rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.228-2
|
|
|
ad3c42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Tue Sep 17 2013 Paul Howarth <paul@city-fan.org> - 1:0.228-1
|
|
|
ad3c42 |
- Update to 0.228
|
|
|
ad3c42 |
- Install in site/ by default for 5.12+ (CPAN RT#88450)
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Sun Sep 1 2013 Paul Howarth <paul@city-fan.org> - 1:0.227-1
|
|
|
ad3c42 |
- Update to 0.227
|
|
|
ad3c42 |
- Restore tests passing for 5.17.5+ (CPAN RT#88320)
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.226-2
|
|
|
ad3c42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Mon Jul 29 2013 Paul Howarth <paul@city-fan.org> - 1:0.226-1
|
|
|
ad3c42 |
- Update to 0.226
|
|
|
ad3c42 |
- Fix tests for Perl 5.18 (CPAN RT#86890)
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:0.225-290
|
|
|
ad3c42 |
- Increase release to favour standalone package
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:0.225-245
|
|
|
ad3c42 |
- Link minimal build-root packages against libperl.so explicitly
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:0.225-244
|
|
|
ad3c42 |
- Adjust tests to perl-5.18 (CPAN RT#86890)
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.225-243
|
|
|
ad3c42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Sat Aug 25 2012 Paul Howarth <paul@city-fan.org> - 1:0.225-242
|
|
|
ad3c42 |
- Don't need to remove empty directories from the buildroot
|
|
|
ad3c42 |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Wed Aug 15 2012 Petr Pisar <ppisar@redhat.com> - 1:0.225-241
|
|
|
ad3c42 |
- Specify all dependencies
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.225-240
|
|
|
ad3c42 |
- Bump release to override sub-package from perl.spec
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.225-8
|
|
|
ad3c42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1:0.225-7
|
|
|
ad3c42 |
- Perl 5.16 rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Tue Feb 7 2012 Paul Howarth <paul@city-fan.org> - 1:0.225-6
|
|
|
ad3c42 |
- Reinstate compatibility with old distributions like EL-5
|
|
|
ad3c42 |
- Add back buildroot definition and cleaning
|
|
|
ad3c42 |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
ad3c42 |
- Make %%files list more explicit
|
|
|
ad3c42 |
- Drop redundant %%{?perl_default_filter}
|
|
|
ad3c42 |
- Don't use macros for commands
|
|
|
ad3c42 |
- Use tabs
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.225-5
|
|
|
ad3c42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Wed Aug 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.225-4
|
|
|
ad3c42 |
- Install to vendor directories rather than perl core directories so as to
|
|
|
ad3c42 |
avoid conflicts between our debuginfo and the main perl-debuginfo package
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.225-3
|
|
|
ad3c42 |
- Perl mass rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.225-2
|
|
|
ad3c42 |
- Perl mass rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Sat May 07 2011 Iain Arnell <iarnell@gmail.com> - 1:0.225-1
|
|
|
ad3c42 |
- Update to latest upstream version
|
|
|
ad3c42 |
- Clean up spec for modern rpmbuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.224-2
|
|
|
ad3c42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Sun Nov 21 2010 Iain Arnell <iarnell@gmail.com> - 1:0.224-1
|
|
|
ad3c42 |
- Update to latest upstream version
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.223-4
|
|
|
ad3c42 |
- Mass rebuild with perl-5.12.0
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Sat Mar 27 2010 Iain Arnell <iarnell@gmail.com> - 1:0.223-3
|
|
|
ad3c42 |
- Dual-life module
|
|
|
ad3c42 |
- Add epoch to match that of parent in core
|
|
|
ad3c42 |
- Use core macros, not vendor
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.223-2
|
|
|
ad3c42 |
- Rebuild against perl 5.10.1
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Fri Sep 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.223-1
|
|
|
ad3c42 |
- Update filtering
|
|
|
ad3c42 |
- Auto-update to 0.223 (by cpan-spec-update 0.01)
|
|
|
ad3c42 |
- Altered br on perl(Test::More) (0 => 0.4)
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.221-4
|
|
|
ad3c42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.221-3
|
|
|
ad3c42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Thu Jun 19 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.221-2
|
|
|
ad3c42 |
- Bump
|
|
|
ad3c42 |
|
|
|
ad3c42 |
* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.221-1
|
|
|
ad3c42 |
- Specfile autogenerated by cpanspec 1.75
|