[perl-Encode-Locale/f21] 1.04 bump

Petr Pisar ppisar at fedoraproject.org
Fri Jan 23 15:30:18 UTC 2015


commit 87d87f5b72383526f8ef4515d8d519389d3950e2
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Jan 23 16:28:18 2015 +0100

    1.04 bump

 .gitignore              |    1 +
 perl-Encode-Locale.spec |   30 +++++++++++++++++++++---------
 sources                 |    2 +-
 3 files changed, 23 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3877c01..f1dc391 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /Encode-Locale-1.01.tar.gz
 /Encode-Locale-1.02.tar.gz
 /Encode-Locale-1.03.tar.gz
+/Encode-Locale-1.04.tar.gz
diff --git a/perl-Encode-Locale.spec b/perl-Encode-Locale.spec
index fff1d2e..a41f4f4 100644
--- a/perl-Encode-Locale.spec
+++ b/perl-Encode-Locale.spec
@@ -1,27 +1,37 @@
 Name:           perl-Encode-Locale
-Version:        1.03
-Release:        8%{?dist}
+Version:        1.04
+Release:        1%{?dist}
 Summary:        Determine the locale encoding
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Encode-Locale/
 Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/Encode-Locale-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
 BuildRequires:  perl(base)
 BuildRequires:  perl(Encode) >= 2
 BuildRequires:  perl(Encode::Alias)
+# Encode::HanExtra not used at tests, not yet packaged
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Win32 not used on Linux
+# Win32::API not used on Linux
+# Win32::Console not used on Linux
 # Tests only:
-BuildRequires:  perl(Test)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-# Multiline our @EXPORT_OK = qw( ... ) trips perl dep extractor
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(utf8)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Encode) >= 2
+# Encode::HanExtra not yet packaged
 # Recommended:
 Requires:       perl(I18N::Langinfo)
+Requires:       perl(warnings)
 
 %{?perl_default_filter}
-%global __requires_exclude %{__requires_exclude}|perl\\(Encode\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Encode\\)$
 
 %description
 In many applications it's wise to let Perl use Unicode for the strings
@@ -34,13 +44,12 @@ way out.
 %setup -q -n Encode-Locale-%{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 {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -52,6 +61,9 @@ make test
 %{_mandir}/man3/Encode::Locale.3*
 
 %changelog
+* Fri Jan 23 2015 Petr Pisar <ppisar at redhat.com> - 1.04-1
+- 1.04 bump
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.03-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 7ecbf3a..b0d44fd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-de8422d068634e7c1068dab4e18b452f  Encode-Locale-1.03.tar.gz
+0565984b048732e4fd1315212f21d462  Encode-Locale-1.04.tar.gz



More information about the perl-devel mailing list