commit 3f1dcdc6dc1640dd462344202aa1eba0e121570e Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Jun 5 15:20:09 2013 +0200 Spec cleanup and fixing the dep list perl-Lingua-EN-Numbers-Ordinate.spec | 33 +++++++++++++-------------------- 1 files changed, 13 insertions(+), 20 deletions(-) --- diff --git a/perl-Lingua-EN-Numbers-Ordinate.spec b/perl-Lingua-EN-Numbers-Ordinate.spec index 22517d8..507ec14 100644 --- a/perl-Lingua-EN-Numbers-Ordinate.spec +++ b/perl-Lingua-EN-Numbers-Ordinate.spec @@ -1,17 +1,19 @@ Name: perl-Lingua-EN-Numbers-Ordinate Version: 1.02 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Perl functions for giving the ordinal form of a number given its cardinal value - Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Lingua-EN-Numbers-Ordinate/ Source0: http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Lingua-EN-Numbers-Ordinate-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(strict) +BuildRequires: perl(Test) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description There are two kinds of numbers in English -- cardinals (1, @@ -19,39 +21,30 @@ There are two kinds of numbers in English -- cardinals (1, provides functions for giving the ordinal form of a number, given its cardinal value. - %prep %setup -q -n Lingua-EN-Numbers-Ordinate-%{version} sed -i -e '/require 5;/d' lib/Lingua/EN/Numbers/Ordinate.pm - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' - +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %check make test - -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %doc ChangeLog README %{perl_vendorlib}/Lingua/ %{_mandir}/man3/*.3* - %changelog +* Wed Jun 05 2013 Petr Šabata <contyk@xxxxxxxxxx> - 1.02-15 +- Spec cleanup and fixing the dep list + * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.02-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_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