diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-08-11 19:40:13 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-08-11 19:40:13 +0200 |
commit | 62ed6368b36c4963706ec5a3eb43e3e7a98730e2 (patch) | |
tree | debfe884a435ba6efd144bf364f8967bfaf6c827 /php-pecl-http.spec | |
parent | b66d003bd3e6ad2bcd79cb8c5dc31b995bf12828 (diff) |
php-pecl-http: upstream pacth for php 5.3
Diffstat (limited to 'php-pecl-http.spec')
-rw-r--r-- | php-pecl-http.spec | 9 |
1 files changed, 8 insertions, 1 deletions
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 <remi@fedoraproject.org> - 2.1.0-0.4.RC2 +- add upstream patch for PHP 5.3 + * Mon Aug 11 2014 Remi Collet <remi@fedoraproject.org> - 2.1.0-0.3.RC2 - Update to 2.1.0RC2 |