|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Pegex
|
|
|
|
|
Version: 0.64
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.65
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Pegex Parser Generator
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -18,7 +18,7 @@ BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(JSON::XS)
|
|
|
|
|
BuildRequires: perl(JSON::XS) perl(JSON::PP)
|
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
|
BuildRequires: perl(re)
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
@ -37,7 +37,7 @@ BuildRequires: perl(TestML::Util)
|
|
|
|
|
%endif
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
|
Requires: perl(JSON::XS)
|
|
|
|
|
Requires: perl(JSON::XS) perl(JSON::PP)
|
|
|
|
|
Requires: perl(warnings)
|
|
|
|
|
Requires: perl(YAML::XS)
|
|
|
|
|
|
|
|
|
@ -49,8 +49,9 @@ modern programming languages.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Pegex-%{version}
|
|
|
|
|
# Remove bundled modules
|
|
|
|
|
rm -r ./inc
|
|
|
|
|
## Remove bundled modules
|
|
|
|
|
#rm -r ./inc
|
|
|
|
|
#sed -i '63,$ d' Makefile.PL
|
|
|
|
|
sed -i -e '/^inc\//d' MANIFEST
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -63,6 +64,7 @@ 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
|
|
|
|
|
%if %{defined perl_bootstrap}
|
|
|
|
|
# Break dependency cycle: perl-Pegex → perl-TestML → perl-Pegex
|
|
|
|
|
make test TEST_FILES="$(find t -name '*.t' \
|
|
|
|
@ -77,8 +79,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.64-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Fri Aug 31 2018 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.65-1
|
|
|
|
|
- Update to 0.65
|
|
|
|
|
- Add dependency perl-JSON-PP
|
|
|
|
|
|
|
|
|
|
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.64-4
|
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|