- add gettext-php-prinf-output-237241.patch to workaround php test failure

(#237241)
This commit is contained in:
Jens Petersen 2007-04-30 08:14:47 +00:00
parent f13e9508a9
commit 400a90cab2
2 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- gettext-0.16.1/gettext-tools/tests/lang-php~ 2006-11-28 03:02:08.000000000 +1000
+++ gettext-0.16.1/gettext-tools/tests/lang-php 2007-04-30 17:51:31.000000000 +1000
@@ -15,7 +15,7 @@
bindtextdomain ("prog", ".");
echo _("'Your command, please?', asked the waiter.");
echo "\n";
- echo printf(_("%s is replaced by %s."), "FF", "EUR");
+ printf(_("%s is replaced by %s."), "FF", "EUR");
echo "\n";
?>
EOF

View File

@ -4,7 +4,7 @@
Summary: GNU libraries and utilities for producing multi-lingual messages
Name: gettext
Version: 0.16.1
Release: 7%{?dist}
Release: 8%{?dist}
License: GPL/LGPL
Group: Development/Tools
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
@ -25,6 +25,7 @@ BuildRequires: zip, unzip
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Patch1: gettext-tools-tests-lang-gawk-fail.patch
Patch2: gettext-php-headers.patch
Patch3: gettext-php-prinf-output-237241.patch
%description
The GNU gettext package provides a set of tools and documentation for
@ -60,6 +61,7 @@ want to add gettext support for your project.
%setup -q
%patch1 -p1 -b .1-fails~
%patch2 -p0 -b .2-header~
%patch3 -p1 -b .3-printf~
%build
@ -225,7 +227,9 @@ fi
%changelog
* Mon Mar 19 2007 Jens Petersen <petersen@redhat.com>
* Mon Apr 30 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-8
- add gettext-php-prinf-output-237241.patch to workaround php test failure
(#237241)
- add gettext-php-headers.patch to correct php test headers
(Robert Scheck, #232832)