[perl-Sort-Key] 1.33 bump, POD fixes

Petr Šabata psabata at fedoraproject.org
Wed Nov 26 16:06:58 UTC 2014


commit 6dedad7cf91d035d0ef084d4738a3fc7e8a569fc
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed Nov 26 17:06:54 2014 +0100

    1.33 bump, POD fixes

 .gitignore         |    1 +
 perl-Sort-Key.spec |   33 ++++++++++++++++++++++-----------
 sources            |    2 +-
 3 files changed, 24 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4847d1c..4615918 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Sort-Key-1.28.tar.gz
 /Sort-Key-1.32.tar.gz
+/Sort-Key-1.33.tar.gz
diff --git a/perl-Sort-Key.spec b/perl-Sort-Key.spec
index 667cbc7..177a863 100644
--- a/perl-Sort-Key.spec
+++ b/perl-Sort-Key.spec
@@ -1,14 +1,26 @@
 Name:           perl-Sort-Key
-Version:        1.32
-Release:        7%{?dist}
+Version:        1.33
+Release:        1%{?dist}
 Summary:        Fastest way to sort anything in Perl
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Sort-Key/
 Source0:        http://www.cpan.org/authors/id/S/SA/SALVA/Sort-Key-%{version}.tar.gz
-BuildRequires:  perl(ExtUtils::MakeMaker)
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(locale)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(XSLoader)
+# Tests only
+BuildRequires:  perl(integer)
 BuildRequires:  perl(Test::More) >= 0.54
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
 %{?perl_default_filter}
 
@@ -20,16 +32,12 @@ calculated key value.
 %setup -q -n Sort-Key-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
@@ -41,6 +49,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Nov 26 2014 Petr Šabata <contyk at redhat.com> - 1.33-1
+- 1.33 bump, POD fixes
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.32-7
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index cefaf58..ee6bd74 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d19ae52e49af1ef0cc45a4c2eca4ecb0  Sort-Key-1.32.tar.gz
+a37ab0da0cfdc26e57b4c79e39f6d98f  Sort-Key-1.33.tar.gz


More information about the scm-commits mailing list