|
|
@ -1,16 +1,18 @@
|
|
|
|
Name: perl-Parse-RecDescent
|
|
|
|
Name: perl-Parse-RecDescent
|
|
|
|
Version: 1.965001
|
|
|
|
Version: 1.967003
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Parse-RecDescent Perl module
|
|
|
|
Summary: Parse-RecDescent Perl module
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/Parse-RecDescent/
|
|
|
|
URL: http://search.cpan.org/dist/Parse-RecDescent/
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Parse-RecDescent-%{version}.tar.gz
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/J/JT/JTBRAUN/Parse-RecDescent-%{version}.tar.gz
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: perl(version)
|
|
|
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(version), perl(Test::More)
|
|
|
|
BuildRequires: perl(Text::Balanced)
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%{?perl_default_filter}
|
|
|
@ -37,41 +39,40 @@ provides:
|
|
|
|
User-definable reduce-reduce conflict resolution via "scoring" of
|
|
|
|
User-definable reduce-reduce conflict resolution via "scoring" of
|
|
|
|
matching productions.
|
|
|
|
matching productions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Parse-RecDescent-%{version}
|
|
|
|
%setup -q -n Parse-RecDescent-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
chmod a-x demo/* tutorial/*
|
|
|
|
chmod a-x demo/* tutorial/*
|
|
|
|
%{__perl} -pi -e 's|^#!\s?/usr/local/bin/perl\b|#!%{__perl}|' demo/*
|
|
|
|
perl -pi -e 's|^#!\s?/usr/local/bin/perl\b|#!%{__perl}|' demo/*
|
|
|
|
%{__perl} -pi -e 's|^#!\s?/opt/local/bin/perl5\.10\.0\b|#!%{__perl}|' demo/*
|
|
|
|
perl -pi -e 's|^#!\s?/opt/local/bin/perl5\.10\.0\b|#!%{__perl}|' demo/*
|
|
|
|
for f in Changes demo/demo_dot.pl; do
|
|
|
|
for f in Changes demo/demo_dot.pl; do
|
|
|
|
iconv -f iso-8859-1 -t utf-8 < "$f" > "${f}_" && mv -f "${f}_" "$f"
|
|
|
|
iconv -f iso-8859-1 -t utf-8 < "$f" > "${f}_" && mv -f "${f}_" "$f"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Build.PL installdirs=core optimize="$RPM_OPT_FLAGS"
|
|
|
|
perl Build.PL installdirs=vendor optimize="%{optflags}"
|
|
|
|
./Build
|
|
|
|
./Build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
|
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README ToDo demo/ tutorial/
|
|
|
|
%{perl_privlib}/Parse/
|
|
|
|
%{perl_vendorlib}/Parse/
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%doc Changes README demo/ tutorial/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jan 31 2012 Petr Šabata <contyk@redhat.com> - 1.967003-1
|
|
|
|
|
|
|
|
- 1.967003 bump (backwards-incompatible changes)
|
|
|
|
|
|
|
|
- Spec cleanup and modernization
|
|
|
|
|
|
|
|
- New Source URL
|
|
|
|
|
|
|
|
- Install to vendor
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.965001-5
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.965001-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|