From 7f0b96ce48360866d3040a1aec50df138a3c458b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 1 Aug 2014 09:41:10 +0200 Subject: php-pecl-jsonc: 1.3.6 --- REFLECTION | 2 +- php-pecl-jsonc.spec | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/REFLECTION b/REFLECTION index c653f22..f3dd513 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #96 json version 1.3.5 ] { +Extension [ extension #98 json version 1.3.6 ] { - Constants [24] { Constant [ integer JSON_HEX_TAG ] { 1 } diff --git a/php-pecl-jsonc.spec b/php-pecl-jsonc.spec index dca409c..71a5cd4 100644 --- a/php-pecl-jsonc.spec +++ b/php-pecl-jsonc.spec @@ -23,7 +23,7 @@ %global ini_name 40-%{ext_name}.ini %endif -%if 0%{?fedora} < 19 +%if 0%{?fedora} < 19 || 0%{?fedora} > 20 %global with_libjson 0 %else %global with_libjson 1 @@ -32,7 +32,7 @@ Summary: Support for JSON serialization Name: php-pecl-%{proj_name} -Version: 1.3.5 +Version: 1.3.6 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}.1 License: PHP Group: Development/Languages @@ -47,6 +47,7 @@ BuildRequires: php-pear BuildRequires: pcre-devel %if %{with_libjson} BuildRequires: json-c-devel >= 0.11 +BuildRequires: json-c-devel < 0.12 %endif Requires(post): %{__pecl} @@ -64,10 +65,18 @@ Obsoletes: php-pecl-json < 1.3.1-2 Provides: php-pecl-json = %{version}-%{release} Provides: php-pecl-json%{?_isa} = %{version}-%{release} +%if "%{?vendor}" == "Remi Collet" # Other third party repo stuff Obsoletes: php54-pecl-%{proj_name} +Obsoletes: php54w-pecl-%{proj_name} %if "%{php_version}" > "5.5" Obsoletes: php55u-pecl-%{proj_name} +Obsoletes: php55w-pecl-%{proj_name} +%endif +%if "%{php_version}" > "5.6" +Obsoletes: php56u-pecl-%{proj_name} +Obsoletes: php56w-pecl-%{proj_name} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -255,6 +264,9 @@ rm -rf %{buildroot} # Note to remi : remember to always build in remi-php55(56) first # %changelog +* Fri Aug 1 2014 Remi Collet - 1.3.6-1 +- release 1.3.6 (stable, bugfix) + * Thu Apr 10 2014 Remi Collet - 1.3.5-1.1 - missing __sync_val_compare_and_swap_4 in el5 i386 -- cgit