Blob Blame History Raw
Name:           perl-Long-Jump
Version:        0.000001
Release:        5%{?dist}
Summary:        Mechanism for returning to a specific point from a deeply nested stack
License:        GPL+ or Artistic
BuildArch:      noarch
BuildRequires:  make
BuildRequires:  perl-generators
BuildRequires:  perl-interpreter
BuildRequires:  perl(:VERSION) >= 5.8.1
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires:  perl(strict)
BuildRequires:  perl(warnings)
# Run-time:
BuildRequires:  perl(Carp)
BuildRequires:  perl(Importer)
# Tests:
# Test2::V0 version from Test2::Suite in META
BuildRequires:  perl(Test2::V0) >= 0.000126
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))

This Perl module essentially provides a multi-level return. You can mark
a spot with setjump() and then unwind the stack back to that point from any
nested stack frame by name using longjump(). You can also provide a list of
return values. It is safer than C language jump in that it only lets you
escape frames by going up the stack, you cannot jump in other ways.

%setup -q -n Long-Jump-%{version}


%{_fixperms} $RPM_BUILD_ROOT/*

make test

%license LICENSE
%doc Changes README

* Fri May 21 2021 Jitka Plesnikova <> - 0.000001-5
- Perl 5.34 rebuild

* Wed Jan 27 2021 Fedora Release Engineering <> - 0.000001-4
- Rebuilt for

* Tue Jul 28 2020 Fedora Release Engineering <> - 0.000001-3
- Rebuilt for

* Tue Jun 23 2020 Jitka Plesnikova <> - 0.000001-2
- Perl 5.32 rebuild

* Mon Mar 02 2020 Petr Pisar <> 0.000001-1
- Specfile autogenerated by cpanspec 1.78.