Author: corsepiu
Update of /cvs/pkgs/rpms/perl-gettext/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16802
Modified Files:
perl-gettext.spec
Added Files:
compatibility-with-POSIX-module.diff
Log Message:
* Mon Jul 27 2009 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 1.05-16
- Adopt Debian's compatibility-with-POSIX-module.diff (RH BZ#447859).
compatibility-with-POSIX-module.diff:
gettext.pm | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE compatibility-with-POSIX-module.diff ---
Locale::Gettext exports by default the various LC_* constants as does the
POSIX perl module. Up to perl-5.10, their definition was strictly the same
and didn't cause any harm. Now the POSIX module evolved slightly and the
symbol redefinition are conflictual and
generate warnings.
Resolve this by making sure that Locale::Gettext reexports the constants
coming from the POSIX module.
Fixes Debian bug #479803.
-- Raphael Hertzog <hertzog(a)debian.org>
Index: liblocale-gettext-perl-1.05/gettext.pm
===================================================================
--- liblocale-gettext-perl-1.05.orig/gettext.pm 2008-05-07 09:40:23.000000000 +0200
+++ liblocale-gettext-perl-1.05/gettext.pm 2008-05-07 09:41:04.000000000 +0200
@@ -32,6 +32,7 @@
=cut
use Carp;
+use POSIX qw(:locale_h);
require Exporter;
require DynaLoader;
Index: perl-gettext.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-gettext/F-11/perl-gettext.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- perl-gettext.spec 27 Feb 2009 05:09:18 -0000 1.12
+++ perl-gettext.spec 27 Jul 2009 14:58:54 -0000 1.13
@@ -1,12 +1,13 @@
Name: perl-gettext
Version: 1.05
-Release: 14%{?dist}
+Release: 16%{?dist}
Summary: Interface to gettext family of functions
Group: Development/Libraries
License: GPL+ or Artistic
URL:
http://search.cpan.org/dist/gettext/
Source0:
http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-%{version}.ta...
+Patch0:
http://patch-tracking.debian.net/patch/series/view/liblocale-gettext-perl...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -22,7 +23,7 @@ internationalize software.
%prep
%setup -q -n gettext-%{version}
-
+%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
@@ -59,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Jul 27 2009 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 1.05-16
+- Adopt Debian's compatibility-with-POSIX-module.diff (RH BZ#447859).
+
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.05-14
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild