[php-pecl-jsonc] release 1.3.3 (stable)

Remi Collet remi at fedoraproject.org
Thu Dec 12 16:06:30 UTC 2013


commit 8f1a64fad7adc27807f1f8c27d5e6eaab08536c5
Author: Remi Collet <remi at fedoraproject.org>
Date:   Thu Dec 12 17:06:29 2013 +0100

    release 1.3.3 (stable)

 .gitignore           |    1 +
 jsonc-nullbyte.patch |   60 --------------------------------------------------
 php-pecl-jsonc.spec  |   15 +++++------
 sources              |    2 +-
 4 files changed, 9 insertions(+), 69 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e454aeb..917fbf4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 php-pecl-jsonc.spec~
 /jsonc-1.3.1.tgz
 /jsonc-1.3.2.tgz
+/jsonc-1.3.3.tgz
diff --git a/php-pecl-jsonc.spec b/php-pecl-jsonc.spec
index 3e7fcda..d71cc16 100644
--- a/php-pecl-jsonc.spec
+++ b/php-pecl-jsonc.spec
@@ -13,17 +13,13 @@
 
 Summary:       Support for JSON serialization
 Name:          php-pecl-%{proj_name}
-Version:       1.3.2
-Release:       2%{?dist}
+Version:       1.3.3
+Release:       1%{?dist}
 License:       PHP
 Group:         Development/Languages
 URL:           http://pecl.php.net/package/%{proj_name}
 Source0:       http://pecl.php.net/get/%{proj_name}-%{version}.tgz
 
-# partial fix to decode string with null-byte (only in value)
-# https://github.com/remicollet/pecl-json-c/issues/7
-Patch0:        jsonc-nullbyte.patch
-
 BuildRequires: php-devel >= 5.4
 BuildRequires: php-pear
 BuildRequires: pcre-devel
@@ -41,9 +37,11 @@ Provides:      php-pecl(%{pecl_name})%{?_isa} = %{version}
 Provides:      php-pecl(%{proj_name}) = %{version}
 Provides:      php-pecl(%{proj_name})%{?_isa} = %{version}
 
+%if 0%{?fedora} < 20
 # Filter private shared
 %{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
 %{?filter_setup}
+%endif
 
 
 %description
@@ -68,8 +66,6 @@ These are the files needed to compile programs using JSON serializer.
 %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
@@ -161,6 +157,9 @@ fi
 
 
 %changelog
+* Thu Dec 12 2013 Remi Collet <rcollet at redhat.com> - 1.3.3-1
+- release 1.3.3 (stable)
+
 * Thu Sep 26 2013 Remi Collet <rcollet at redhat.com> - 1.3.2-2
 - fix decode of string value with null-byte
 
diff --git a/sources b/sources
index 1976e6b..3ea2664 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8e1e30a996b1f3e5e370f6bb54eb40b7  jsonc-1.3.2.tgz
+9e607cd5b0c89b40bd4080268cf46a91  jsonc-1.3.3.tgz


More information about the scm-commits mailing list