|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: perl-Pegex
|
|
|
|
|
Version: 0.72
|
|
|
|
|
Version: 0.74
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Pegex Parser Generator
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
@ -8,35 +8,26 @@ Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/Pegex-%{version}.
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
BuildRequires: perl(File::ShareDir::Install)
|
|
|
|
|
# Run-time
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(JSON::XS) perl(JSON::PP)
|
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
|
BuildRequires: perl(re)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(File::ShareDir::Install)
|
|
|
|
|
BuildRequires: perl(JSON::PP)
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
BuildRequires: perl(YAML::XS)
|
|
|
|
|
# Tests
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
# TestML not used
|
|
|
|
|
# TestML::Compiler::Lite not used
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Tie::IxHash)
|
|
|
|
|
BuildRequires: perl(XXX) >= 0.33
|
|
|
|
|
BuildRequires: perl(YAML::PP) >= 0.018
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
|
Requires: perl(JSON::XS) perl(JSON::PP)
|
|
|
|
|
Requires: perl(warnings)
|
|
|
|
|
Requires: perl(YAML::XS)
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
Requires: perl(File::ShareDir::Install)
|
|
|
|
|
Requires: perl(JSON::PP)
|
|
|
|
|
Requires: perl(Scalar::Util)
|
|
|
|
|
Requires: perl(XXX) >= 0.33
|
|
|
|
|
Requires: perl(YAML::PP) >= 0.018
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Pegex is a Acmeist parser framework. It is a PEG parser grammar syntax,
|
|
|
|
|
Pegex is an Acmeist parser framework. It is a PEG parser grammar syntax,
|
|
|
|
|
combined with PCRE compatible regular expressions as the match tokens.
|
|
|
|
|
Pegex draws heavily from Perl 6 rules, but works equivalently in many
|
|
|
|
|
modern programming languages.
|
|
|
|
@ -58,15 +49,19 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
#rm -f t/compiler-checks.t t/compiler-equivalence.t t/compiler.t t/error.t t/optimize.t t/tree-pegex.t t/tree.t
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes CONTRIBUTING LICENSE README
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc Changes CONTRIBUTING example META.json README
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 27 2020 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.74-1
|
|
|
|
|
- Update to 0.74
|
|
|
|
|
- Change a lot of BuildRequires and Requires
|
|
|
|
|
|
|
|
|
|
* Mon Jan 06 2020 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.72-1
|
|
|
|
|
- Update to 0.72
|
|
|
|
|
|
|
|
|
|