From b08a216eec8cf81f2c12bb64ec20d29a18ed7882 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 22 Apr 2013 19:40:36 +0200 Subject: php-pecl-http1: fix php 5.4 build --- php-pecl-http1.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php-pecl-http1.spec b/php-pecl-http1.spec index 81ea717..8385be4 100644 --- a/php-pecl-http1.spec +++ b/php-pecl-http1.spec @@ -99,7 +99,9 @@ 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