Name: perl-SUPER Version: 1.16 Release: 2%{?dist} Summary: Sane superclass method dispatcher License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/SUPER/ Source0: http://www.cpan.org/authors/id/C/CH/CHROMATIC/SUPER-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # We don't really want to provide: perl(UNIVERSAL) Source98: filter-provides.sh %define __perl_provides %{SOURCE98} BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Simple) BuildRequires: perl(Sub::Identify) # not picked up due to use base Requires: perl(Exporter) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description When subclassing a class, you occasionally want to dispatch control to the superclass -- at least conditionally and temporarily. This module provides an easier, cleaner way for class methods to access their ancestor's 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 * Wed Jan 02 2008 Ralf Corsépius 1.16-2 - Adjust License-tag. - BR: perl(Test::Simple) (BZ 419631). * Wed Apr 04 2007 Chris Weyl 1.16-1 - update to 1.16 * Tue Oct 03 2006 Chris Weyl 1.15-1 - update to 1.15 - add explict requires on perl(Exporter); missed due to a use base construct * Thu Sep 07 2006 Chris Weyl 1.14-4 - bump * Thu Sep 07 2006 Chris Weyl 1.14-3 - update %%description and %%summary * Thu Sep 07 2006 Chris Weyl 1.14-2 - filter errant perl(DB) provide * Tue Sep 05 2006 Chris Weyl 1.14-1 - Specfile autogenerated by cpanspec 1.69.1.