From 930c4fd03869ff4624811761fd693c0ee54d145d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Kasal?= Date: Mon, 2 Feb 2009 18:57:41 +0000 Subject: [PATCH] new upstream version --- .cvsignore | 2 +- perl-Parse-RecDescent.spec | 26 +++++++++++++------------- sources | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.cvsignore b/.cvsignore index 268027e..a74ff41 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Parse-RecDescent-v1.95.1.tar.gz +Parse-RecDescent-1.96.0.tar.gz diff --git a/perl-Parse-RecDescent.spec b/perl-Parse-RecDescent.spec index 4e0bb44..a400bea 100644 --- a/perl-Parse-RecDescent.spec +++ b/perl-Parse-RecDescent.spec @@ -1,18 +1,18 @@ Name: perl-Parse-RecDescent -Version: 1.95.1 -Release: 5%{?dist} +Version: 1.96 +%define tarname Parse-RecDescent-%{version}.0 +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://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-v%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/%{tarname}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker), perl(version), perl(Test::More) BuildRequires: perl(Test::Pod) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Parse::RecDescent incrementally generates top-down recursive-descent @@ -38,10 +38,12 @@ matching productions. %prep -%setup -q -n Parse-RecDescent-v%{version} - -chmod 644 Changes README lib/Parse/* demo/* tutorial/* +%setup -q -n %{tarname} +chmod a-x demo/* tutorial/* %{__perl} -pi -e 's|^#!\s?/usr/local/bin/perl\b|#!%{__perl}|' demo/* +for f in demo/demo_dot.pl; do + iconv -f iso-8859-1 -t utf-8 < "$f" > "${f}_" && mv -f "${f}_" "$f" +done %build @@ -56,11 +58,6 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* -for file in demo/demo_dot.pl; do - iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_" - mv -f "${file}_" "$file" -done - %check make test @@ -78,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 2 2009 Stepan Kasal - 1.96-1 +- new upstream version + * Wed Feb 27 2008 Tom "spot" Callaway - 1.95.1-5 - Rebuild for perl 5.10 (again) diff --git a/sources b/sources index aa902fc..265a125 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -122fa38d52a701897836370ae022f174 Parse-RecDescent-v1.95.1.tar.gz +373dc01e102d81d01a4fb1431c5ff3fb Parse-RecDescent-1.96.0.tar.gz