|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: perl-PPIx-Regexp
|
|
|
|
|
Version: 0.041
|
|
|
|
|
Version: 0.042
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Represent a regular expression of some sort
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
@ -28,12 +28,14 @@ BuildRequires: perl(Task::Weaken)
|
|
|
|
|
# Optional run-time:
|
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
|
# Tests:
|
|
|
|
|
# Data::Dumper not used
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
# YAML not used
|
|
|
|
|
# Optional tests:
|
|
|
|
|
BuildRequires: perl(charnames)
|
|
|
|
|
# Data::Dumper not used
|
|
|
|
|
# Text::CSV is not used
|
|
|
|
|
BuildRequires: perl(Time::HiRes)
|
|
|
|
|
# YAML not used
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
# Encode is optional.
|
|
|
|
|
Requires: perl(Exporter)
|
|
|
|
@ -51,7 +53,8 @@ root of the parse tree, playing a role similar to PPI::Document.
|
|
|
|
|
%setup -q -n PPIx-Regexp-%{version}
|
|
|
|
|
chmod -x eg/*
|
|
|
|
|
sed -i \
|
|
|
|
|
'1 s|^#!/usr/local/bin/perl|%(perl -MConfig -e "print \$Config{startperl}")|' \
|
|
|
|
|
-e '1 s|^#!/usr/local/bin/perl|%(perl -MConfig -e "print \$Config{startperl}")|' \
|
|
|
|
|
-e '1 s|^#!/usr/bin/env perl|%(perl -MConfig -e "print \$Config{startperl}")|' \
|
|
|
|
|
eg/*
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -72,6 +75,9 @@ perl Build.PL installdirs=vendor
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Oct 12 2015 Petr Pisar <ppisar@redhat.com> - 0.042-1
|
|
|
|
|
- 0.042 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jul 03 2015 Petr Pisar <ppisar@redhat.com> - 0.041-1
|
|
|
|
|
- 0.041 bump
|
|
|
|
|
|
|
|
|
|