commit 1ca4988902aeb43b0f3668a8002f4174217c00ee
Author: Petr Šabata <con...@redhat.com>
Date:   Tue Dec 16 18:30:18 2014 +0100

    0.27 bugfix bump

 .gitignore          |    1 +
 perl-Locale-PO.spec |   26 +++++++++++++++-----------
 sources             |    2 +-
 3 files changed, 17 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ae45ca4..f090239 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ Locale-PO-0.21.tar.gz
 /Locale-PO-0.22.tar.gz
 /Locale-PO-0.23.tar.gz
 /Locale-PO-0.24.tar.gz
+/Locale-PO-0.27.tar.gz
diff --git a/perl-Locale-PO.spec b/perl-Locale-PO.spec
index 6bf710e..0d7f714 100644
--- a/perl-Locale-PO.spec
+++ b/perl-Locale-PO.spec
@@ -1,5 +1,5 @@
 Name:           perl-Locale-PO
-Version:        0.24
+Version:        0.27
 Release:        1%{?dist}
 Summary:        Perl module for manipulating .po entries from GNU gettext
 License:        GPL+ or Artistic
@@ -7,17 +7,20 @@ Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Locale-PO/
 Source0:        
http://search.cpan.org/CPAN/authors/id/C/CO/COSIMO/Locale-PO-%{version}.tar.gz
 BuildArch:      noarch
+# Build
 BuildRequires:  perl
-BuildRequires:  perl(base)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Runtime
 BuildRequires:  perl(Carp)
+BuildRequires:  perl(strict)
+# Tests only
+BuildRequires:  perl(base)
 BuildRequires:  perl(Data::Dumper)
-BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Slurp)
-BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(utf8)
 BuildRequires:  perl(warnings)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %{?perl_default_filter}
 
@@ -30,15 +33,13 @@ interface in which each entry in a .po file is a Locale::PO 
object.
 %setup -q -n Locale-PO-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
@@ -49,6 +50,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Dec 16 2014 Petr Šabata <con...@redhat.com> - 0.27-1
+- 0.27 bugfix bump
+
 * Thu Sep 25 2014 Petr Šabata <con...@redhat.com> - 0.24-1
 - 0.24 bugfix bump
 
diff --git a/sources b/sources
index 659112d..ee9018a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b404b546aba4fd3d495948a6c0352b16  Locale-PO-0.24.tar.gz
+81545852a510f8e5332ea1e9d6b64a39  Locale-PO-0.27.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to