[perl-Scalar-List-Utils] update to 1.27

Iain Arnell iarnell at fedoraproject.org
Fri Jan 4 17:16:56 UTC 2013


commit d87d93d8fff71ff7e2f5d1193e87009b6bf02d93
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Jan 4 10:16:49 2013 -0700

    update to 1.27

 .gitignore                  |    1 +
 perl-Scalar-List-Utils.spec |   19 +++++++++++--------
 sources                     |    2 +-
 3 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e78ce4d..f5b5af7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /Scalar-List-Utils-1.23.tar.gz
 /Scalar-List-Utils-1.25.tar.gz
+/Scalar-List-Utils-1.27.tar.gz
diff --git a/perl-Scalar-List-Utils.spec b/perl-Scalar-List-Utils.spec
index 3f48382..5755b3c 100644
--- a/perl-Scalar-List-Utils.spec
+++ b/perl-Scalar-List-Utils.spec
@@ -1,6 +1,6 @@
 Name:           perl-Scalar-List-Utils
-Version:        1.25
-Release:        240%{?dist}
+Version:        1.27
+Release:        245%{?dist}
 Summary:        A selection of general-utility scalar and list subroutines
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -38,17 +38,17 @@ that being individual extensions would be wasteful.
 %setup -q -n Scalar-List-Utils-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
+make pure_install DESTDIR=%{buildroot}
 
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
@@ -61,6 +61,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jan 04 2013 Iain Arnell <iarnell at gmail.com> 1.27-245
+- update to latest upstream version
+
 * Fri Aug 17 2012 Petr Pisar <ppisar at redhat.com> - 1.25-240
 - Increase release to replace perl sub-package (bug #848961)
 
diff --git a/sources b/sources
index c727490..6b88353 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-80ce77e3d7ec212905b263797b34b3fd  Scalar-List-Utils-1.25.tar.gz
+d71e318b54d7ff93174f6d67eb74b4aa  Scalar-List-Utils-1.27.tar.gz


More information about the scm-commits mailing list