[perl-Return-MultiLevel] Initial import (#1151415).
David Dick
ddick at fedoraproject.org
Sun Nov 2 19:41:52 UTC 2014
commit c0414e5aed78260187db4519090fc464719e422a
Author: David Dick <ddick at cpan.org>
Date: Mon Nov 3 06:41:47 2014 +1100
Initial import (#1151415).
.gitignore | 1 +
perl-Return-MultiLevel.spec | 56 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d4d76e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Return-MultiLevel-0.04.tar.gz
diff --git a/perl-Return-MultiLevel.spec b/perl-Return-MultiLevel.spec
new file mode 100644
index 0000000..24d00ca
--- /dev/null
+++ b/perl-Return-MultiLevel.spec
@@ -0,0 +1,56 @@
+Name: perl-Return-MultiLevel
+Version: 0.04
+Release: 1%{?dist}
+Summary: Return across multiple call levels
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Return-MultiLevel/
+Source0: http://www.cpan.org/modules/by-module/Return/Return-MultiLevel-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(Carp)
+BuildRequires: perl(Data::Munge) >= 0.07
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.48
+BuildRequires: perl(parent)
+# Not including Scope::Upper as it is only required it the user specifies a specific ENV variable
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(warnings)
+Requires: perl(Data::Munge) >= 0.07
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Data::Munge\\)$
+%description
+This module provides a way to return immediately from a deeply nested call
+stack. This is similar to exceptions, but exceptions don't stop
+automatically at a target frame (and they can be caught by intermediate
+stack frames using eval). In other words, this is more like
+setjmp(3)/longjmp(3) than die.
+
+%prep
+%setup -q -n Return-MultiLevel-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Oct 03 2014 David Dick <ddick at cpan.org> - 0.04-1
+- Initial release
diff --git a/sources b/sources
index e69de29..533f9ad 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a63d4f150bfbef57eed93db800b78f8e Return-MultiLevel-0.04.tar.gz
More information about the scm-commits
mailing list