|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-PPIx-Regexp
|
|
|
|
|
Version: 0.028
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.029
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Represent a regular expression of some sort
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -23,7 +23,7 @@ BuildRequires: perl(Task::Weaken)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
# Text::CSV is never required
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Exporter)
|
|
|
|
|
Requires: perl(PPI::Document) >= 1.117
|
|
|
|
|
Requires: perl(Task::Weaken)
|
|
|
|
@ -41,12 +41,11 @@ chmod -x eg/*
|
|
|
|
|
sed -i '1 s|/usr/local/bin/perl|/usr/bin/perl|' eg/*
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
|
perl Build.PL installdirs=vendor
|
|
|
|
|
./Build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -58,6 +57,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 14 2013 Petr Pisar <ppisar@redhat.com> - 0.029-1
|
|
|
|
|
- 0.029 bump
|
|
|
|
|
|
|
|
|
|
* Tue Aug 21 2012 Petr Pisar <ppisar@redhat.com> - 0.028-5
|
|
|
|
|
- Run-require Exporter
|
|
|
|
|
|
|
|
|
|