[perl-Sort-Naturally] Correct the source URL
Petr Šabata
psabata at fedoraproject.org
Thu Oct 10 07:55:17 UTC 2013
commit 7807fa987544800788e2f2930e2a20d8687af8b0
Author: Petr Šabata <contyk at redhat.com>
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 at redhat.com> - 1.03-7
+- Correct the source URL
+- Correct the dependency list
+- Modernize the spec
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.03-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list