summaryrefslogtreecommitdiffstats
path: root/php-pecl-jsonc.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-jsonc.spec')
-rw-r--r--php-pecl-jsonc.spec15
1 files changed, 7 insertions, 8 deletions
diff --git a/php-pecl-jsonc.spec b/php-pecl-jsonc.spec
index 25cfd24..e6c69e6 100644
--- a/php-pecl-jsonc.spec
+++ b/php-pecl-jsonc.spec
@@ -26,8 +26,8 @@
Summary: Support for JSON serialization
Name: php-pecl-%{proj_name}
-Version: 1.3.2
-Release: 2%{?dist}.1
+Version: 1.3.3
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{proj_name}
@@ -41,10 +41,6 @@ BuildRequires: pcre-devel
BuildRequires: json-c-devel >= 0.11
%endif
-# partial fix to decode string with null-byte (only in value)
-# https://github.com/remicollet/pecl-json-c/issues/7
-Patch0: jsonc-nullbyte.patch
-
Requires(post): %{__pecl}
Requires(postun): %{__pecl}
Requires: php(zend-abi) = %{php_zend_api}
@@ -66,9 +62,11 @@ Obsoletes: php54-pecl-%{proj_name}
Obsoletes: php55u-pecl-%{proj_name}
%endif
+%if 0%{?fedora} < 20
# Filter private shared
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
%{?filter_setup}
+%endif
%description
@@ -104,8 +102,6 @@ Only used to be the best provider for php-json.
%setup -q -c
cd %{proj_name}-%{version}
-%patch0 -p1
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_JSON_VERSION/{s/.* "//;s/".*$//;p}' php_json.h )
if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
@@ -226,6 +222,9 @@ rm -rf %{buildroot}
# Note to remi : remember to always build in remi-test first
#
%changelog
+* Thu Dec 12 2013 Remi Collet <rcollet@redhat.com> - 1.3.3-1
+- release 1.3.3 (stable)
+
* Thu Sep 26 2013 Remi Collet <rcollet@redhat.com> - 1.3.2-2
- fix decode of string value with null-byte