From 62ed6368b36c4963706ec5a3eb43e3e7a98730e2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 11 Aug 2014 19:40:13 +0200 Subject: php-pecl-http: upstream pacth for php 5.3 --- php-pecl-http.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-pecl-http.spec') diff --git a/php-pecl-http.spec b/php-pecl-http.spec index 5d369e4..ad7e87f 100644 --- a/php-pecl-http.spec +++ b/php-pecl-http.spec @@ -29,7 +29,7 @@ Name: %{?scl_prefix}php-pecl-http Version: 2.1.0 -Release: 0.3.RC2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 0.4.RC2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Summary: Extended HTTP support License: BSD @@ -40,6 +40,9 @@ Source0: http://pecl.php.net/get/%{proj_name}-%{version}%{?prever}.tgz # From http://www.php.net/manual/en/http.configuration.php Source1: %{proj_name}.ini +# Upstream patches +Patch0: %{proj_name}-git.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-devel >= 5.3.0 BuildRequires: %{?scl_prefix}php-hash @@ -170,6 +173,7 @@ These are the files needed to compile programs using HTTP extension. mv %{proj_name}-%{version}%{?prever} NTS cd NTS +%patch0 -p1 -b .git extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -319,6 +323,9 @@ rm -rf %{buildroot} %changelog +* Mon Aug 11 2014 Remi Collet - 2.1.0-0.4.RC2 +- add upstream patch for PHP 5.3 + * Mon Aug 11 2014 Remi Collet - 2.1.0-0.3.RC2 - Update to 2.1.0RC2 -- cgit