perl-SUPER/perl-SUPER.spec
Chris Weyl a31cb6542c auto-import perl-SUPER-1.14-3.fc5 on branch devel from
perl-SUPER-1.14-3.fc5.src.rpm
2006-09-07 22:50:44 +00:00

63 lines
1.6 KiB
RPMSpec

Name: perl-SUPER
Version: 1.14
Release: 3%{?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(Sub::Identify)
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
* 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.