[perl-End] initial import (rhbz#806643)

Iain Arnell iarnell at fedoraproject.org
Thu Mar 29 11:07:38 UTC 2012


commit be74f51afaf651949f850a075fbd897dc1c11f23
Author: Iain Arnell <iarnell at gmail.com>
Date:   Thu Mar 29 13:07:31 2012 +0200

    initial import (rhbz#806643)

 .gitignore    |    1 +
 perl-End.spec |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8b33161 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/End-2009110401.tar.gz
diff --git a/perl-End.spec b/perl-End.spec
new file mode 100644
index 0000000..4cfc919
--- /dev/null
+++ b/perl-End.spec
@@ -0,0 +1,53 @@
+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 <iarnell at gmail.com> 2009110401-1
+- Specfile autogenerated by cpanspec 1.79.
diff --git a/sources b/sources
index e69de29..5577c61 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cacbc9d37b6d53a10ca0b0b6f4ff1af0  End-2009110401.tar.gz



More information about the perl-devel mailing list