[perl-Sort-Naturally] Mini cleanup, fix dependencies
Petr Šabata
psabata at fedoraproject.org
Mon Jan 23 12:20:22 UTC 2012
commit 4088bd84d375bcdd0265885019f31019f210d6a7
Author: Petr Šabata <contyk at redhat.com>
Date: Mon Jan 23 13:16:56 2012 +0100
Mini cleanup, fix dependencies
perl-Sort-Naturally.spec | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/perl-Sort-Naturally.spec b/perl-Sort-Naturally.spec
index 6808137..bd67021 100644
--- a/perl-Sort-Naturally.spec
+++ b/perl-Sort-Naturally.spec
@@ -8,10 +8,11 @@ Summary: Sort lexically, but sort numeral parts numerically
Source: http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Sort-Naturally-%{version}.tar.gz
Url: http://search.cpan.org/dist/Sort-Naturally
BuildArch: noarch
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module exports two functions, 'nsort' and 'ncmp'; they are used in
@@ -23,14 +24,13 @@ word-characters are compared lexically.
%setup -q -n Sort-Naturally-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+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 ';'
-
%{_fixperms} %{buildroot}/*
%check
More information about the scm-commits
mailing list