commit 7807fa987544800788e2f2930e2a20d8687af8b0 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Thu Oct 10 16:55:10 2013 +0900 Correct the source URL - Correct the dependency list - Modernize the spec perl-Sort-Naturally.spec | 23 ++++++++++++++++------- 1 files changed, 16 insertions(+), 7 deletions(-) --- diff --git a/perl-Sort-Naturally.spec b/perl-Sort-Naturally.spec index 3ea8054..20d55e7 100644 --- a/perl-Sort-Naturally.spec +++ b/perl-Sort-Naturally.spec @@ -1,18 +1,23 @@ Name: perl-Sort-Naturally Version: 1.03 -Release: 6%{?dist} +Release: 7%{?dist} # see lib/Sort/Naturally.pm License: GPL+ or Artistic Group: Development/Libraries Summary: Sort lexically, but sort numeral parts numerically -Source: http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Sort-Naturally-%{version}.tar.gz +Source: http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Sort-Naturally-%{version}.tar.gz Url: http://search.cpan.org/dist/Sort-Naturally BuildArch: noarch +BuildRequires: perl BuildRequires: perl(Carp) +BuildRequires: perl(Config) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(integer) +BuildRequires: perl(locale) +BuildRequires: perl(strict) BuildRequires: perl(Test) -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description This module exports two functions, 'nsort' and 'ncmp'; they are used in @@ -28,9 +33,8 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} + %{_fixperms} %{buildroot}/* %check @@ -42,6 +46,11 @@ make test %{_mandir}/man3/*.3* %changelog +* Thu Oct 10 2013 Petr Šabata <contyk@xxxxxxxxxx> - 1.03-7 +- Correct the source URL +- Correct the dependency list +- Modernize the spec + * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.03-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_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