rpms/gettext/devel gettext-php-headers.patch, NONE, 1.1 gettext.spec, 1.72, 1.73

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Mar 19 04:16:17 UTC 2007


Author: petersen

Update of /cvs/dist/rpms/gettext/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7192

Modified Files:
	gettext.spec 
Added Files:
	gettext-php-headers.patch 
Log Message:
- add gettext-php-headers.patch to correct php test headers
  (Robert Scheck, #232832)


gettext-php-headers.patch:
 lang-php       |    2 +-
 xgettext-php-1 |    2 +-
 xgettext-php-2 |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE gettext-php-headers.patch ---
--- ./gettext-tools/tests/xgettext-php-1.orig     2006-11-27 18:02:11.000000000 +0100
+++ ./gettext-tools/tests/xgettext-php-1 2007-03-18 16:03:40.000000000 +0100
@@ -7,7 +7,7 @@

 tmpfiles="$tmpfiles xg-ph-1.php"
 cat <<EOF > xg-ph-1.php
-<?
+<?php
 // This comment will not be extracted.
 echo _("help");
 //  TRANSLATORS: This is an extracted comment.
--- ./gettext-tools/tests/xgettext-php-2.orig     2006-05-15 14:23:49.000000000 +0200
+++ ./gettext-tools/tests/xgettext-php-2 2007-03-18 16:03:52.000000000 +0100
@@ -7,7 +7,7 @@

 tmpfiles="$tmpfiles xg-ph-2.php"
 cat <<EOF > xg-ph-2.php
-<?
+<?php
 echo _("Egyptians");
 echo <<<EOTMARKER
 Ramses
--- ./gettext-tools/tests/lang-php.orig      2006-11-27 18:02:08.000000000 +0100
+++ ./gettext-tools/tests/lang-php  2007-03-18 16:04:42.000000000 +0100
@@ -9,7 +9,7 @@

 tmpfiles="$tmpfiles prog.php"
 cat <<\EOF > prog.php
-<?
+<?php
   setlocale (LC_ALL, "");
   textdomain ("prog");
   bindtextdomain ("prog", ".");


Index: gettext.spec
===================================================================
RCS file: /cvs/dist/rpms/gettext/devel/gettext.spec,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- gettext.spec	15 Mar 2007 23:40:32 -0000	1.72
+++ gettext.spec	19 Mar 2007 04:16:15 -0000	1.73
@@ -24,6 +24,7 @@
 %endif
 Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 Patch1: gettext-tools-tests-lang-gawk-fail.patch
+Patch2: gettext-php-headers.patch
 
 %description
 The GNU gettext package provides a set of tools and documentation for
@@ -58,6 +59,7 @@
 %prep
 %setup -q
 %patch1 -p1 -b .1-fails~
+%patch2 -p0 -b .2-header~
 
 
 %build
@@ -223,6 +225,10 @@
 
 
 %changelog
+* Mon Mar 19 2007 Jens Petersen <petersen at redhat.com>
+- add gettext-php-headers.patch to correct php test headers
+  (Robert Scheck, #232832)
+
 * Thu Mar 15 2007 Jens Petersen <petersen at redhat.com> - 0.16.1-7
 - set preloadable_libintl.so executable in %%install so it gets stripped
 - force removal of infodir/dir since it is not there when /sbin is not in path




More information about the fedora-cvs-commits mailing list