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