auto-import perl-SUPER-1.14-3.fc5 on branch devel from
perl-SUPER-1.14-3.fc5.src.rpm
This commit is contained in:
parent
147ef1c232
commit
a31cb6542c
@ -0,0 +1 @@
|
||||
SUPER-1.14.tar.gz
|
3
filter-provides.sh
Executable file
3
filter-provides.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
/usr/lib/rpm/perl.prov $* |
|
||||
sed -e '/perl(UNIVERSAL)/d' -e '/perl(DB)/d'
|
62
perl-SUPER.spec
Normal file
62
perl-SUPER.spec
Normal file
@ -0,0 +1,62 @@
|
||||
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.
|
Loading…
Reference in New Issue
Block a user