2006-09-07 22:50:44 +00:00
|
|
|
Name: perl-SUPER
|
2009-09-27 05:23:02 +00:00
|
|
|
Version: 1.17
|
2010-05-06 15:30:11 +00:00
|
|
|
Release: 2%{?dist}
|
2006-09-07 22:50:44 +00:00
|
|
|
Summary: Sane superclass method dispatcher
|
2008-01-02 03:46:15 +00:00
|
|
|
License: GPL+ or Artistic
|
2006-09-07 22:50:44 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/SUPER/
|
2009-09-27 05:23:02 +00:00
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/SUPER-%{version}.tar.gz
|
2006-09-07 22:50:44 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
2009-09-27 05:23:02 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2006-09-07 22:50:44 +00:00
|
|
|
|
2009-09-27 05:23:02 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(Test::Simple) >= 0.61
|
|
|
|
BuildRequires: perl(Sub::Identify) >= 0.03
|
|
|
|
BuildRequires: perl(Scalar::Util) >= 1.20
|
2006-09-07 22:50:44 +00:00
|
|
|
|
2006-10-04 04:18:41 +00:00
|
|
|
Requires: perl(Exporter)
|
2009-09-27 05:23:02 +00:00
|
|
|
Requires: perl(Scalar::Util) >= 1.20
|
|
|
|
Requires: perl(Sub::Identify) >= 0.03
|
2006-10-04 04:18:41 +00:00
|
|
|
|
2009-09-27 05:23:02 +00:00
|
|
|
%{?perl_default_filter:
|
|
|
|
%filter_from_provides /perl(UNIVERSAL)/d; /perl(DB)/d
|
|
|
|
%perl_default_filter
|
|
|
|
}
|
2006-09-07 22:50:44 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
When subclassing a class, you occasionally want to dispatch control to the
|
|
|
|
superclass -- at least conditionally and temporarily. This module provides
|
2009-09-27 05:23:02 +00:00
|
|
|
an easier, cleaner way for class methods to access their ancestor's
|
2006-09-07 22:50:44 +00:00
|
|
|
implementation.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n SUPER-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
./Build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2010-05-06 15:30:11 +00:00
|
|
|
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.17-2
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2009-09-27 05:23:02 +00:00
|
|
|
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.17-1
|
|
|
|
- update filtering
|
|
|
|
- auto-update to 1.17 (by cpan-spec-update 0.01)
|
|
|
|
- added a new br on perl(Scalar::Util) (version 1.20)
|
|
|
|
- altered br on perl(Sub::Identify) (0 => 0.03)
|
|
|
|
- altered br on perl(Test::Simple) (0 => 0.61)
|
|
|
|
- added a new req on perl(Scalar::Util) (version 1.20)
|
|
|
|
- added a new req on perl(Sub::Identify) (version 0.03)
|
|
|
|
|
2009-07-26 16:25:23 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-27 01:14:01 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-03-04 22:55:32 +00:00
|
|
|
* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.16-3
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2008-01-02 03:46:15 +00:00
|
|
|
* Wed Jan 02 2008 Ralf Corsépius <rc040203@freenet.de> 1.16-2
|
|
|
|
- Adjust License-tag.
|
|
|
|
- BR: perl(Test::Simple) (BZ 419631).
|
|
|
|
|
2007-04-18 22:26:51 +00:00
|
|
|
* Wed Apr 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.16-1
|
|
|
|
- update to 1.16
|
|
|
|
|
2006-10-04 04:18:41 +00:00
|
|
|
* Tue Oct 03 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.15-1
|
|
|
|
- update to 1.15
|
|
|
|
- add explict requires on perl(Exporter); missed due to a use base construct
|
|
|
|
|
2006-09-07 23:06:00 +00:00
|
|
|
* Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.14-4
|
|
|
|
- bump
|
|
|
|
|
2006-09-07 22:50:44 +00:00
|
|
|
* Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.14-3
|
|
|
|
- update %%description and %%summary
|
|
|
|
|
|
|
|
* Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.14-2
|
|
|
|
- filter errant perl(DB) provide
|
|
|
|
|
|
|
|
* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.14-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.69.1.
|