1.967003 bump

Beware and check your apps and modules.  See the upstream
changelog for details.
epel9
Petr Šabata 13 years ago
parent 0339c9fd18
commit 3ff7b54b35

1
.gitignore vendored

@ -1,2 +1,3 @@
Parse-RecDescent-1.964.tar.gz
/Parse-RecDescent-1.965001.tar.gz
/Parse-RecDescent-1.967003.tar.gz

@ -1,16 +1,18 @@
Name: perl-Parse-RecDescent
Version: 1.965001
Release: 5%{?dist}
Version: 1.967003
Release: 1%{?dist}
Summary: Parse-RecDescent Perl module
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Parse-RecDescent/
Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Parse-RecDescent-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Source0: http://search.cpan.org/CPAN/authors/id/J/JT/JTBRAUN/Parse-RecDescent-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(version)
BuildRequires: perl(Carp)
BuildRequires: perl(Data::Dumper)
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))
%{?perl_default_filter}
@ -37,41 +39,40 @@ provides:
User-definable reduce-reduce conflict resolution via "scoring" of
matching productions.
%prep
%setup -q -n Parse-RecDescent-%{version}
chmod a-x demo/* tutorial/*
%{__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?/usr/local/bin/perl\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
iconv -f iso-8859-1 -t utf-8 < "$f" > "${f}_" && mv -f "${f}_" "$f"
done
%build
%{__perl} Build.PL installdirs=core optimize="$RPM_OPT_FLAGS"
perl Build.PL installdirs=vendor optimize="%{optflags}"
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
./Build install destdir=%{buildroot} create_packlist=0
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
./Build test
%files
%defattr(-,root,root,-)
%{perl_privlib}/Parse/
%doc Changes README ToDo demo/ tutorial/
%{perl_vendorlib}/Parse/
%{_mandir}/man3/*.3*
%doc Changes README demo/ tutorial/
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

@ -1 +1 @@
e91351ad179a3843fbe8e521b135acaf Parse-RecDescent-1.965001.tar.gz
061e5e1cf05b2978adb3ca8957c7c0e4 Parse-RecDescent-1.967003.tar.gz

Loading…
Cancel
Save