|
|
|
@ -28,11 +28,8 @@ BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
# Break dependency cycle: perl-Pegex → perl-TestML → perl-Pegex
|
|
|
|
|
# TestML not used
|
|
|
|
|
# TestML::Compiler::Lite not used
|
|
|
|
|
%endif
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
|
Requires: perl(JSON::XS) perl(JSON::PP)
|
|
|
|
@ -63,13 +60,7 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
|
|
|
|
|
%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' \
|
|
|
|
|
\! -exec grep -q -e 'use TestML' {} \; -print | tr \"\\n\" ' ')"
|
|
|
|
|
%else
|
|
|
|
|
make test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes CONTRIBUTING LICENSE README
|
|
|
|
@ -79,6 +70,8 @@ make test
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Nov 19 2018 Petr Pisar <ppisar@redhat.com> - 0.70-2
|
|
|
|
|
- Do not depend on bundled TestML
|
|
|
|
|
- Remove perl_bootstrap code because perl-TestML >= 0.54_05 does not require
|
|
|
|
|
perl-Pegex
|
|
|
|
|
|
|
|
|
|
* Mon Nov 12 2018 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.70-1
|
|
|
|
|
- Update to 0.70
|
|
|
|
|