diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-04-22 19:59:45 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-04-22 19:59:45 +0200 |
commit | c942d819fdb44e046ef6416573e82d5fbf937c90 (patch) | |
tree | a6536783596a73ff4a7d57c2d90c5eb5b5982b19 /php-pecl-http1.spec | |
parent | b08a216eec8cf81f2c12bb64ec20d29a18ed7882 (diff) |
php-pecl-http1: fix php 5.5 patch to work with php 5.4
Diffstat (limited to 'php-pecl-http1.spec')
-rw-r--r-- | php-pecl-http1.spec | 3 |
1 files changed, 1 insertions, 2 deletions
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 |