summaryrefslogtreecommitdiffstats
path: root/php-zstd.spec
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 /php-zstd.spec
parentf91acd3d3a308f8ea2fae6ca932f76304fcbacbd (diff)
update to 0.8.0 with system libzstd 1.4.4
Diffstat (limited to 'php-zstd.spec')
-rw-r--r--php-zstd.spec8
1 files changed, 6 insertions, 2 deletions
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