From c942d819fdb44e046ef6416573e82d5fbf937c90 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 22 Apr 2013 19:59:45 +0200 Subject: php-pecl-http1: fix php 5.5 patch to work with php 5.4 --- php-pecl-http1.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'php-pecl-http1.spec') diff --git a/php-pecl-http1.spec b/php-pecl-http1.spec index 8385be4..f8faae2 100644 --- a/php-pecl-http1.spec +++ b/php-pecl-http1.spec @@ -17,6 +17,7 @@ Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz # Change for package Patch0: %{pecl_name}-ini.patch # http://svn.php.net/viewvc?view=revision&revision=329705 +# http://svn.php.net/viewvc?view=revision&revision=330133 Patch1: %{pecl_name}-php55.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -99,9 +100,7 @@ These are the files needed to compile programs using HTTP extension. cd %{proj_name}-%{version} %patch0 -p1 -b .rpmconf -%if "%{php_version}" > "5.5" %patch1 -p3 -b .php55 -%endif extver=$(sed -n '/#define PHP_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h) if test "x${extver}" != "x%{version}"; then -- cgit