summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-02-07 07:43:33 +0100
committerRemi Collet <remi@remirepo.net>2020-02-07 07:43:33 +0100
commit77dbc0336f6954fb196c44ecf25c55f5ed5e44f2 (patch)
treedd791bd09a03ffea56e888bed37e83149a0f996c
parentf91acd3d3a308f8ea2fae6ca932f76304fcbacbd (diff)
update to 0.8.0 with system libzstd 1.4.4
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION2
-rw-r--r--php-zstd.spec8
3 files changed, 8 insertions, 4 deletions
diff --git a/PHPINFO b/PHPINFO
index 1707a7d..78e5c38 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,5 +2,5 @@
zstd
Zstd support => enabled
-Extension Version => 0.7.7
+Extension Version => 0.8.0
Interface Version => 1.4.4
diff --git a/REFLECTION b/REFLECTION
index ff44da3..212c7fd 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #99 zstd version 0.7.7 ] {
+Extension [ <persistent> extension #101 zstd version 0.8.0 ] {
- Constants [5] {
Constant [ int ZSTD_COMPRESS_LEVEL_MIN ] { 1 }
diff --git a/php-zstd.spec b/php-zstd.spec
index ff5297b..e71de41 100644
--- a/php-zstd.spec
+++ b/php-zstd.spec
@@ -17,7 +17,7 @@
%global pkg_name %{name}
%endif
-%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 6
%global with_libzstd 1
%else
%global with_libzstd 0
@@ -31,7 +31,7 @@
Summary: Zstandard extension
Name: %{?sub_prefix}php-%{pecl_name}
-Version: 0.7.7
+Version: 0.8.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%if %{?with_libzstd}
License: MIT
@@ -112,6 +112,7 @@ cp zstd/LICENSE LICENSE-libzstd
%if %{?with_libzstd}
# Use the system library
rm -r zstd
+sed -e '\:"zstd/:d' -i ../package.xml
%endif
# Sanity check, really often broken
@@ -249,6 +250,9 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
%changelog
+* Fri Feb 7 2020 Remi Collet <remi@remirepo.net> - 0.8.0-1
+- update to 0.8.0 with system libzstd 1.4.4
+
* Mon Dec 23 2019 Remi Collet <remi@remirepo.net> - 0.7.7-1
- update to 0.7.7
- sources from pecl