diff --git a/gettext-php-prinf-output-237241.patch b/gettext-php-prinf-output-237241.patch new file mode 100644 index 0000000..da333de --- /dev/null +++ b/gettext-php-prinf-output-237241.patch @@ -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 diff --git a/gettext.spec b/gettext.spec index 668cd2c..68b4c9b 100644 --- a/gettext.spec +++ b/gettext.spec @@ -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 +* Mon Apr 30 2007 Jens Petersen - 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)