From 40ae171cf0ba400785f553831d90d5897d52a2c8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 26 Mar 2019 07:38:57 +0100 Subject: v0.6.0 --- PHPINFO | 2 +- REFLECTION | 8 +++++++- php-zstd.spec | 17 +++++------------ 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/PHPINFO b/PHPINFO index 28369ce..e2da939 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,5 +2,5 @@ zstd Zstd support => enabled -Extension Version => 0.5.0 +Extension Version => 0.6.0 Interface Version => 1.3.8 diff --git a/REFLECTION b/REFLECTION index 23f64e8..8173407 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,10 @@ -Extension [ extension #182 zstd version 0.5.0 ] { +Extension [ extension #185 zstd version 0.6.0 ] { + + - Constants [3] { + Constant [ integer ZSTD_COMPRESS_LEVEL_MIN ] { 1 } + Constant [ integer ZSTD_COMPRESS_LEVEL_MAX ] { 22 } + Constant [ integer ZSTD_COMPRESS_LEVEL_DEFAULT ] { 3 } + } - Functions { Function [ function zstd_compress ] { diff --git a/php-zstd.spec b/php-zstd.spec index ae758c5..d3417a9 100644 --- a/php-zstd.spec +++ b/php-zstd.spec @@ -24,7 +24,7 @@ %global zstdver 1.3.8 %endif -%global gh_commit 44301b0843fcbc816663ddd7a025a5460e27b1a1 +%global gh_commit 5d588401de6dc138953145cb34236f31c00213ef %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner kjdev %global gh_project php-ext-zstd @@ -35,7 +35,7 @@ Summary: Zstd Extension for PHP Name: %{?sub_prefix}php-%{pecl_name} -Version: 0.5.0 +Version: 0.6.0 %if 0%{?gh_date:1} Release: 1%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else @@ -47,7 +47,6 @@ License: MIT # bundled library is BSD License: MIT and BSD %endif -Group: Development/Languages URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{pkg_name}-%{version}-%{gh_short}.tgz # retrieve a recursive git snapshot with submodule @@ -66,14 +65,6 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api} %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -%if "%{php_version}" > "5.6" -Obsoletes: php56u-%{pecl_name} <= %{version} -Obsoletes: php56w-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.0" -Obsoletes: php70u-%{pecl_name} <= %{version} -Obsoletes: php70w-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "7.1" Obsoletes: php71u-%{pecl_name} <= %{version} Obsoletes: php71w-%{pecl_name} <= %{version} @@ -103,7 +94,6 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %package devel Summary: %{name} developer files (header) -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{?scl_prefix}php-devel%{?_isa} Provides: %{?scl_prefix}php-%{pecl_name}-devel = %{version}-%{release} @@ -252,6 +242,9 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ %changelog +* Tue Mar 26 2019 Remi Collet - 0.6.0-1 +- update to 0.6.0 + * Mon Jan 7 2019 Remi Collet - 0.5.0-1 - update to 0.5.0 -- cgit