Author: corsepiu
Update of /cvs/pkgs/rpms/perl-gettext/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29257
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-10/perl-gettext.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- perl-gettext.spec 5 Mar 2008 22:27:20 -0000 1.11
+++ perl-gettext.spec 27 Jul 2009 15:23:18 -0000 1.12
@@ -1,12 +1,13 @@
Name: perl-gettext
Version: 1.05
-Release: 13%{?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).
+
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> - 1.05-13
- rebuild for new perl