2010-10-28 10:49:51 +00:00
|
|
|
Name: perl-Pegex
|
2018-11-12 11:29:00 +00:00
|
|
|
Version: 0.70
|
2018-08-31 11:38:54 +00:00
|
|
|
Release: 1%{?dist}
|
2010-10-28 10:49:51 +00:00
|
|
|
Summary: Pegex Parser Generator
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
2018-06-04 12:07:31 +00:00
|
|
|
URL: https://metacpan.org/release/Pegex
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/Pegex-%{version}.tar.gz
|
2010-10-28 10:49:51 +00:00
|
|
|
BuildArch: noarch
|
2017-07-12 13:09:36 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2016-06-24 08:13:30 +00:00
|
|
|
BuildRequires: perl-generators
|
2014-07-31 14:06:25 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
2015-02-04 06:36:31 +00:00
|
|
|
BuildRequires: perl(File::ShareDir::Install)
|
2012-06-12 10:49:37 +00:00
|
|
|
# Run-time
|
|
|
|
BuildRequires: perl(Carp)
|
2014-07-31 14:06:25 +00:00
|
|
|
BuildRequires: perl(constant)
|
2012-06-12 10:49:37 +00:00
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Exporter)
|
2018-08-31 11:38:54 +00:00
|
|
|
BuildRequires: perl(JSON::XS) perl(JSON::PP)
|
2014-07-31 14:06:25 +00:00
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(re)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
2010-10-28 10:49:51 +00:00
|
|
|
BuildRequires: perl(YAML::XS)
|
2012-06-12 10:49:37 +00:00
|
|
|
# Tests
|
2014-07-31 14:06:25 +00:00
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(lib)
|
2012-06-12 10:49:37 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2014-07-31 14:06:25 +00:00
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
# Break dependency cycle: perl-Pegex → perl-TestML → perl-Pegex
|
|
|
|
BuildRequires: perl(TestML)
|
|
|
|
BuildRequires: perl(TestML::Bridge)
|
|
|
|
BuildRequires: perl(TestML::Compiler::Lite)
|
|
|
|
BuildRequires: perl(TestML::Util)
|
|
|
|
%endif
|
2010-10-28 10:49:51 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2012-06-12 10:49:37 +00:00
|
|
|
Requires: perl(Data::Dumper)
|
2018-08-31 11:38:54 +00:00
|
|
|
Requires: perl(JSON::XS) perl(JSON::PP)
|
2014-07-31 14:06:25 +00:00
|
|
|
Requires: perl(warnings)
|
2012-06-12 10:49:37 +00:00
|
|
|
Requires: perl(YAML::XS)
|
2010-10-28 10:49:51 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Pegex is a 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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Pegex-%{version}
|
2018-08-31 11:38:54 +00:00
|
|
|
## Remove bundled modules
|
|
|
|
#rm -r ./inc
|
|
|
|
#sed -i '63,$ d' Makefile.PL
|
2014-07-31 14:06:25 +00:00
|
|
|
sed -i -e '/^inc\//d' MANIFEST
|
2010-10-28 10:49:51 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2014-07-31 14:06:25 +00:00
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
2010-10-28 10:49:51 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
2014-07-31 14:06:25 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
2010-10-28 10:49:51 +00:00
|
|
|
|
|
|
|
%check
|
2018-08-31 11:38:54 +00:00
|
|
|
#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
|
2014-07-31 14:06:25 +00:00
|
|
|
%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
|
2010-10-28 10:49:51 +00:00
|
|
|
make test
|
2014-07-31 14:06:25 +00:00
|
|
|
%endif
|
2010-10-28 10:49:51 +00:00
|
|
|
|
|
|
|
%files
|
2014-07-31 14:06:25 +00:00
|
|
|
%doc Changes CONTRIBUTING LICENSE README
|
2010-10-28 10:49:51 +00:00
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2018-11-12 11:29:00 +00:00
|
|
|
* Mon Nov 12 2018 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.70-1
|
|
|
|
- Update to 0.70
|
2018-09-10 14:53:39 +00:00
|
|
|
|
2018-08-31 11:38:54 +00:00
|
|
|
* Fri Aug 31 2018 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.65-1
|
|
|
|
- Update to 0.65
|
|
|
|
- Add dependency perl-JSON-PP
|
2018-07-13 19:19:45 +00:00
|
|
|
|
2018-07-01 06:42:26 +00:00
|
|
|
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.64-4
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|
2018-06-28 12:01:04 +00:00
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.64-3
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
2018-02-09 00:03:27 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.64-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-19 16:47:55 +00:00
|
|
|
* Tue Sep 19 2017 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.64-1
|
|
|
|
- Update to 0.64
|
|
|
|
|
2017-07-27 05:42:45 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.63-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-07 15:04:56 +00:00
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.63-4
|
|
|
|
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
|
|
2017-06-05 00:58:28 +00:00
|
|
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.63-3
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-02-11 04:49:50 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.63-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-17 07:01:39 +00:00
|
|
|
* Tue Jan 17 2017 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.63-1
|
|
|
|
- Update to 0.63
|
|
|
|
|
2016-09-14 16:08:13 +00:00
|
|
|
* Wed Sep 14 2016 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.61-2
|
|
|
|
- remove tests that fails
|
|
|
|
|
2016-06-16 09:19:33 +00:00
|
|
|
* Thu Jun 16 2016 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.61-1
|
|
|
|
- Update to 0.61
|
|
|
|
|
2016-05-18 16:36:39 +00:00
|
|
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.60-7
|
|
|
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
|
|
2016-05-15 14:51:39 +00:00
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.60-6
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-04 15:21:11 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.60-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 05:27:39 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-10 13:01:05 +00:00
|
|
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.60-3
|
|
|
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
|
|
2015-06-05 14:20:00 +00:00
|
|
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.60-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-02-04 06:36:31 +00:00
|
|
|
* Wed Feb 04 2015 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.60-1
|
|
|
|
- Update to 0.60
|
|
|
|
- BuildRequires perl(File::ShareDir::Install) added
|
|
|
|
|
2014-09-08 20:25:49 +00:00
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.45-3
|
|
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
|
2014-08-27 21:41:19 +00:00
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.45-2
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-08-08 12:51:56 +00:00
|
|
|
* Fri Aug 08 2014 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.45-1
|
|
|
|
- Update to 0.45
|
|
|
|
|
2014-08-07 14:01:12 +00:00
|
|
|
* Thu Aug 07 2014 Petr Pisar <ppisar@redhat.com> - 0.44-2
|
|
|
|
- Finish bootstrap
|
|
|
|
|
2014-07-31 14:06:25 +00:00
|
|
|
* Thu Jul 31 2014 Petr Pisar <ppisar@redhat.com> - 0.44-1
|
|
|
|
- 0.44 bump
|
|
|
|
|
2014-06-07 08:55:33 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 00:20:40 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-08-02 02:48:02 +00:00
|
|
|
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 0.21-2
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-18 08:05:04 +00:00
|
|
|
* Mon Feb 18 2013 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.21-1
|
|
|
|
- Update to 0.21
|
|
|
|
|
2013-02-14 14:38:48 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 18:18:34 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-11 21:32:01 +00:00
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.11-6
|
|
|
|
- Perl 5.16 rebuild
|
2012-06-12 10:49:37 +00:00
|
|
|
- Specify all dependencies
|
2012-06-11 21:32:01 +00:00
|
|
|
|
2012-01-13 16:46:45 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-20 15:43:49 +00:00
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-4
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-09 05:44:02 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-27 13:09:30 +00:00
|
|
|
* Thu Jan 27 2011 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.11-2
|
|
|
|
- rebuild with new Perl version
|
|
|
|
|
2010-10-28 10:49:51 +00:00
|
|
|
* Wed Oct 27 2010 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.11-1
|
|
|
|
- remove unnecessary BuildRequires
|
|
|
|
|
|
|
|
* Sun Oct 03 2010 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.10-1
|
|
|
|
- BuildRequires perl(Test::Builder) added
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|