rpms/perl-gettext/devel compatibility-with-POSIX-module.diff, NONE, 1.1 perl-gettext.spec, 1.13, 1.14
corsepiu
corsepiu at fedoraproject.org
Mon Jul 27 14:24:45 UTC 2009
Author: corsepiu
Update of /cvs/pkgs/rpms/perl-gettext/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30241
Modified Files:
perl-gettext.spec
Added Files:
compatibility-with-POSIX-module.diff
Log Message:
* Mon Jul 27 2009 Ralf Corsépius <corsepiu at 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 at 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/devel/perl-gettext.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- perl-gettext.spec 26 Jul 2009 17:46:27 -0000 1.13
+++ perl-gettext.spec 27 Jul 2009 14:24:45 -0000 1.14
@@ -1,12 +1,13 @@
Name: perl-gettext
Version: 1.05
-Release: 15%{?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}.tar.gz
+Patch0: http://patch-tracking.debian.net/patch/series/view/liblocale-gettext-perl/1.05-4/compatibility-with-POSIX-module.diff
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 at fedoraproject.org> - 1.05-16
+- Adopt Debian's compatibility-with-POSIX-module.diff (RH BZ#447859).
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.05-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the Fedora-perl-devel-list
mailing list