Blame perl-Long-Jump.spec

45be287
Name:           perl-Long-Jump
45be287
Version:        0.000001
fa4ba42
Release:        2%{?dist}
45be287
Summary:        Mechanism for returning to a specific point from a deeply nested stack
45be287
License:        GPL+ or Artistic
45be287
URL:            https://metacpan.org/release/Long-Jump
45be287
Source0:        https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Long-Jump-%{version}.tar.gz
45be287
BuildArch:      noarch
45be287
BuildRequires:  make
45be287
BuildRequires:  perl-generators
45be287
BuildRequires:  perl-interpreter
45be287
BuildRequires:  perl(:VERSION) >= 5.8.1
45be287
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
45be287
BuildRequires:  perl(strict)
45be287
BuildRequires:  perl(warnings)
45be287
# Run-time:
45be287
BuildRequires:  perl(Carp)
45be287
BuildRequires:  perl(Importer)
45be287
# Tests:
45be287
# Test2::V0 version from Test2::Suite in META
45be287
BuildRequires:  perl(Test2::V0) >= 0.000126
45be287
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
45be287
45be287
%description
45be287
This Perl module essentially provides a multi-level return. You can mark
45be287
a spot with setjump() and then unwind the stack back to that point from any
45be287
nested stack frame by name using longjump(). You can also provide a list of
45be287
return values. It is safer than C language jump in that it only lets you
45be287
escape frames by going up the stack, you cannot jump in other ways.
45be287
45be287
%prep
45be287
%setup -q -n Long-Jump-%{version}
45be287
45be287
%build
45be287
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
45be287
%{make_build}
45be287
45be287
%install
45be287
%{make_install}
45be287
%{_fixperms} $RPM_BUILD_ROOT/*
45be287
45be287
%check
45be287
make test
45be287
45be287
%files
45be287
%license LICENSE
45be287
%doc Changes README
45be287
%{perl_vendorlib}/*
45be287
%{_mandir}/man3/*
45be287
45be287
%changelog
fa4ba42
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.000001-2
fa4ba42
- Perl 5.32 rebuild
fa4ba42
45be287
* Mon Mar 02 2020 Petr Pisar <ppisar@redhat.com> 0.000001-1
45be287
- Specfile autogenerated by cpanspec 1.78.