|
|
2a0b790 |
Name: perl-SUPER
|
|
|
9ceb587 |
Version: 1.20141117
|
|
|
5d93430 |
Release: 3%{?dist}
|
|
|
2a0b790 |
Summary: Sane superclass method dispatcher
|
|
|
2a0b790 |
License: GPL+ or Artistic
|
|
|
2a0b790 |
Group: Development/Libraries
|
|
|
2a0b790 |
URL: http://search.cpan.org/dist/SUPER/
|
|
|
2a0b790 |
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/SUPER-%{version}.tar.gz
|
|
|
2a0b790 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
2a0b790 |
BuildArch: noarch
|
|
|
7f3f6f2 |
# =============== Module Build =================
|
|
|
79bf3ff |
BuildRequires: perl
|
|
|
79bf3ff |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
7f3f6f2 |
# =============== Module Runtime ===============
|
|
|
2a0b790 |
BuildRequires: perl(Carp)
|
|
|
2a0b790 |
BuildRequires: perl(Scalar::Util) >= 1.20
|
|
|
79bf3ff |
BuildRequires: perl(strict)
|
|
|
2a0b790 |
BuildRequires: perl(Sub::Identify) >= 0.03
|
|
|
79bf3ff |
BuildRequires: perl(warnings)
|
|
|
7f3f6f2 |
# =============== Test Suite ===================
|
|
|
9ceb587 |
BuildRequires: perl(base)
|
|
|
7f3f6f2 |
BuildRequires: perl(lib)
|
|
|
9ceb587 |
BuildRequires: perl(Test::More) >= 0.88
|
|
|
7f3f6f2 |
# =============== Module Runtime ===============
|
|
|
2a0b790 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
2a0b790 |
Requires: perl(Scalar::Util) >= 1.20
|
|
|
2a0b790 |
Requires: perl(Sub::Identify) >= 0.03
|
|
|
2a0b790 |
|
|
Chris Weyl |
a31cb65 |
%description
|
|
Chris Weyl |
a31cb65 |
When subclassing a class, you occasionally want to dispatch control to the
|
|
|
2a0b790 |
superclass - at least conditionally and temporarily. This module provides
|
|
Chris Weyl |
752f284 |
an easier, cleaner way for class methods to access their ancestor's
|
|
Chris Weyl |
a31cb65 |
implementation.
|
|
Chris Weyl |
a31cb65 |
|
|
Chris Weyl |
a31cb65 |
%prep
|
|
Chris Weyl |
a31cb65 |
%setup -q -n SUPER-%{version}
|
|
Chris Weyl |
a31cb65 |
|
|
Chris Weyl |
a31cb65 |
%build
|
|
|
79bf3ff |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
79bf3ff |
make %{?_smp_mflags}
|
|
Chris Weyl |
a31cb65 |
|
|
Chris Weyl |
a31cb65 |
%install
|
|
Chris Weyl |
a31cb65 |
rm -rf %{buildroot}
|
|
|
79bf3ff |
make pure_install DESTDIR=%{buildroot}
|
|
|
79bf3ff |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
2a0b790 |
%{_fixperms} %{buildroot}
|
|
Chris Weyl |
a31cb65 |
|
|
Chris Weyl |
a31cb65 |
%check
|
|
|
79bf3ff |
make test
|
|
Chris Weyl |
a31cb65 |
|
|
Chris Weyl |
a31cb65 |
%clean
|
|
Chris Weyl |
a31cb65 |
rm -rf %{buildroot}
|
|
Chris Weyl |
a31cb65 |
|
|
Chris Weyl |
a31cb65 |
%files
|
|
Chris Weyl |
a31cb65 |
%doc Changes README
|
|
|
2a0b790 |
%{perl_vendorlib}/SUPER.pm
|
|
|
79bf3ff |
%{_mandir}/man3/SUPER.3*
|
|
Chris Weyl |
a31cb65 |
|
|
Chris Weyl |
a31cb65 |
%changelog
|
|
|
5d93430 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20141117-3
|
|
|
5d93430 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
5d93430 |
|
|
|
60f257c |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.20141117-2
|
|
|
60f257c |
- Perl 5.22 rebuild
|
|
|
60f257c |
|
|
|
9ceb587 |
* Mon Nov 17 2014 Paul Howarth <paul@city-fan.org> - 1.20141117-1
|
|
|
9ceb587 |
- Update to 1.20141117
|
|
|
9ceb587 |
- Improved export mechanism
|
|
|
9ceb587 |
- Removed useless Exporter tests
|
|
|
9ceb587 |
- Improved docs (CPAN RT#79681)
|
|
|
9ceb587 |
|
|
|
79bf3ff |
* Mon Nov 17 2014 Paul Howarth <paul@city-fan.org> - 1.20141116-1
|
|
|
79bf3ff |
- Update to 1.20141116
|
|
|
79bf3ff |
- Resolved Test::More changes (CPAN RT#97939)
|
|
|
79bf3ff |
- Switch to ExtUtils::MakeMaker flow
|
|
|
79bf3ff |
|
|
|
3b4239c |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.20120705-7
|
|
|
3b4239c |
- Perl 5.20 rebuild
|
|
|
3b4239c |
|
|
|
0b5fc1b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20120705-6
|
|
|
0b5fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
0b5fc1b |
|
|
|
8e7b924 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20120705-5
|
|
|
8e7b924 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
8e7b924 |
|
|
|
5f4e234 |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.20120705-4
|
|
|
5f4e234 |
- Perl 5.18 rebuild
|
|
|
5f4e234 |
|
|
|
f0b7e1a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20120705-3
|
|
|
f0b7e1a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
f0b7e1a |
|
|
|
a4f6f18 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20120705-2
|
|
|
a4f6f18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a4f6f18 |
|
|
|
7f3f6f2 |
* Fri Jul 6 2012 Paul Howarth <paul@city-fan.org> - 1.20120705-1
|
|
|
7f3f6f2 |
- Update to 1.20120705
|
|
|
7f3f6f2 |
- Resolved PAUSE packaging nit (CPAN RT#77110)
|
|
|
7f3f6f2 |
- Converted to dzil
|
|
|
7f3f6f2 |
- Drop provides filter, not needed due to fix for CPAN RT#77110
|
|
|
7f3f6f2 |
- Classify buildreqs by what they are required for
|
|
|
7f3f6f2 |
- BR: perl(Test::Builder::Module) rather than perl(Test::Simple) ≥ 0.61
|
|
|
7f3f6f2 |
- BR: perl(base), perl(lib) and perl(Test::More)
|
|
|
7f3f6f2 |
|
|
|
3f179e5 |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.17-8
|
|
|
3f179e5 |
- Perl 5.16 rebuild
|
|
|
3f179e5 |
|
|
|
2a0b790 |
* Tue Mar 6 2012 Paul Howarth <paul@city-fan.org> - 1.17-7
|
|
|
2a0b790 |
- Add provides filters that work with all supported distributions
|
|
|
2a0b790 |
- BR: perl(Carp) and perl(Exporter)
|
|
|
2a0b790 |
- Make %%files list more explicit
|
|
|
2a0b790 |
- Drop explicit requires of perl(Exporter) since it's auto-detected by rpm
|
|
|
2a0b790 |
4.9 onwards, and is bundled with perl on all older distributions
|
|
|
2a0b790 |
- Don't need to remove empty directories from buildroot
|
|
|
2a0b790 |
- Don't use macros for commands
|
|
|
2a0b790 |
- %%defattr redundant since rpm 4.4
|
|
|
2a0b790 |
- Use tabs
|
|
|
2a0b790 |
|
|
|
2b9c372 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-6
|
|
|
2b9c372 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
2b9c372 |
|
|
|
39deb4f |
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.17-5
|
|
|
39deb4f |
- Perl mass rebuild
|
|
|
39deb4f |
|
|
|
a379bec |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-4
|
|
|
a379bec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a379bec |
|
|
|
f73923e |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.17-3
|
|
|
0995cf1 |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
f73923e |
|
|
|
d32bbf9 |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.17-2
|
|
|
d32bbf9 |
- Mass rebuild with perl-5.12.0
|
|
|
d32bbf9 |
|
|
|
0995cf1 |
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.17-1
|
|
|
0995cf1 |
- Update filtering
|
|
|
0995cf1 |
- Auto-update to 1.17 (by cpan-spec-update 0.01)
|
|
|
0995cf1 |
- Added a new br on perl(Scalar::Util) (version 1.20)
|
|
|
0995cf1 |
- Altered br on perl(Sub::Identify) (0 => 0.03)
|
|
|
0995cf1 |
- Altered br on perl(Test::Simple) (0 => 0.61)
|
|
|
0995cf1 |
- Added a new req on perl(Scalar::Util) (version 1.20)
|
|
|
0995cf1 |
- Added a new req on perl(Sub::Identify) (version 0.03)
|
|
Chris Weyl |
752f284 |
|
|
|
b90dc43 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-5
|
|
|
b90dc43 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
b90dc43 |
|
|
|
a82acfe |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-4
|
|
|
a82acfe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a82acfe |
|
|
|
0995cf1 |
* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.16-3
|
|
|
0995cf1 |
- Rebuild for new perl
|
|
|
694d4a4 |
|
|
|
0995cf1 |
* Wed Jan 02 2008 Ralf Corsépius <rc040203@freenet.de> - 1.16-2
|
|
|
0995cf1 |
- Adjust License-tag
|
|
|
0995cf1 |
- BR: perl(Test::Simple) (BZ 419631)
|
|
|
5482f50 |
|
|
|
0995cf1 |
* Wed Apr 04 2007 Chris Weyl <cweyl@alumni.drew.edu> - 1.16-1
|
|
|
0995cf1 |
- Update to 1.16
|
|
Chris Weyl |
09d10e6 |
|
|
|
0995cf1 |
* Tue Oct 03 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.15-1
|
|
|
0995cf1 |
- Update to 1.15
|
|
|
0995cf1 |
- Add explict requires on perl(Exporter); missed due to a use base construct
|
|
Chris Weyl |
f6e39c8 |
|
|
|
0995cf1 |
* Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.14-4
|
|
|
0995cf1 |
- Bump
|
|
Chris Weyl |
86dcc3e |
|
|
|
0995cf1 |
* Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.14-3
|
|
|
0995cf1 |
- Update %%description and %%summary
|
|
Chris Weyl |
a31cb65 |
|
|
|
0995cf1 |
* Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.14-2
|
|
|
0995cf1 |
- Filter errant perl(DB) provide
|
|
Chris Weyl |
a31cb65 |
|
|
|
0995cf1 |
* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.14-1
|
|
|
0995cf1 |
- Specfile autogenerated by cpanspec 1.69.1
|