Initial import
This commit is contained in:
parent
cd17eb23fb
commit
51adeed5d9
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/Syntax-Keyword-Try-0.09.tar.gz
|
61
perl-Syntax-Keyword-Try.spec
Normal file
61
perl-Syntax-Keyword-Try.spec
Normal file
@ -0,0 +1,61 @@
|
||||
Name: perl-Syntax-Keyword-Try
|
||||
Version: 0.09
|
||||
Release: 1%{?dist}
|
||||
Summary: try/catch/finally syntax for perl
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Syntax-Keyword-Try/
|
||||
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Syntax-Keyword-Try-%{version}.tar.gz
|
||||
BuildRequires: findutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(XSLoader)
|
||||
# Tests
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
# Optional
|
||||
# not used - perl(Future)
|
||||
# not packaged yet - perl(Future::AsyncAwait)
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(threads)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This module provides a syntax plugin that implements exception-handling
|
||||
semantics in a form familiar to users of other languages, being built on a
|
||||
block labeled with the try keyword, followed by at least one of a catch or
|
||||
finally block.
|
||||
|
||||
%prep
|
||||
%setup -q -n Syntax-Keyword-Try-%{version}
|
||||
|
||||
%build
|
||||
perl Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS"
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes README
|
||||
%{perl_vendorarch}/auto/*
|
||||
%{perl_vendorarch}/Syntax*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 03 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in New Issue
Block a user