Name: perl-End Version: 2009110401 Release: 1%{?dist} Summary: Generalized END blocks License: MIT Group: Development/Libraries URL: http://search.cpan.org/dist/End/ Source0: http://www.cpan.org/authors/id/A/AB/ABIGAIL/End-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(Test::Kwalitee) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description The module End exports a single subroutine which allows you to set up some code that is run whenever the current block is exited, regardless whether that is due to a return, next, last, redo, exit, die, goto or just reaching the end of the block. %prep %setup -q -n End-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Mar 25 2012 Iain Arnell 2009110401-1 - Specfile autogenerated by cpanspec 1.79.