commit c755467287b0042c71f88be7a6ea3705feab1d78 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Aug 15 11:52:30 2012 +0200 Modernize spec file perl-Parse-Yapp.spec | 33 +++++++++++++-------------------- 1 files changed, 13 insertions(+), 20 deletions(-) --- diff --git a/perl-Parse-Yapp.spec b/perl-Parse-Yapp.spec index 71292c1..e69e292 100644 --- a/perl-Parse-Yapp.spec +++ b/perl-Parse-Yapp.spec @@ -1,26 +1,22 @@ Name: perl-Parse-Yapp Version: 1.05 -Release: 48%{?dist} +Release: 49%{?dist} Summary: Perl extension for generating and using LALR parsers - Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Parse-Yapp/ Source0: http://www.cpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch -BuildRequires: perl >= 1:5.6.1 BuildRequires: perl(ExtUtils::MakeMaker) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Run-time: +BuildRequires: perl(Carp) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description -Parse::Yapp (Yet Another Perl Parser compiler) is a collection of -modules that let you generate and use yacc like thread safe -(reentrant) parsers with perl object oriented interface. The script -yapp is a front-end to the Parse::Yapp module and let you easily -create a Perl OO parser from an input grammar file. - +Parse::Yapp (Yet Another Perl Parser compiler) is a collection of modules that +let you generate and use yacc like thread safe (reentrant) parsers with perl +object oriented interface. The script yapp is a front-end to the Parse::Yapp +module and let you easily create a Perl OO parser from an input grammar file. %prep %setup -q -n Parse-Yapp-%{version} @@ -31,21 +27,14 @@ chmod 644 README lib/Parse/{*.pm,Yapp/*.pm} make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT 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/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %doc Changes README %{_bindir}/yapp %{perl_vendorlib}/Parse/ @@ -54,6 +43,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Aug 15 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.05-49 +- Specify all dependencies +- Modernize spec file + * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.05-48 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel