summaryrefslogtreecommitdiffstats
path: root/php-zstd.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-zstd.spec')
-rw-r--r--php-zstd.spec18
1 files changed, 10 insertions, 8 deletions
diff --git a/php-zstd.spec b/php-zstd.spec
index 2288ca3..4c2f7d1 100644
--- a/php-zstd.spec
+++ b/php-zstd.spec
@@ -1,7 +1,7 @@
# remirepo spec file for php-zstd
#
-# Copyright (c) 2018-2022 Remi Collet
-# License: CC-BY-SA
+# Copyright (c) 2018-2023 Remi Collet
+# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
@@ -11,7 +11,6 @@
%undefine _strict_symbol_defs_build
%if 0%{?scl:1}
-%global sub_prefix %{scl_prefix}
%scl_package php-zstd
%else
%global pkg_name %{name}
@@ -29,14 +28,14 @@
%global buildver %(pkg-config --silence-errors --modversion libzstd 2>/dev/null || echo 65536)
Summary: Zstandard extension
-Name: %{?sub_prefix}php-%{pecl_name}
-Version: 0.12.0
+Name: %{?scl_prefix}php-%{pecl_name}
+Version: 0.12.1
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%if %{with libzstd}
License: MIT
%else
-# bundled library is BSD
-License: MIT and BSD
+# bundled library is BSD-3-Clause
+License: MIT AND BSD-3-Clause
%endif
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
@@ -186,7 +185,7 @@ cd NTS
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
--modules | grep '^%{pecl_name}$'
-%if "%{php_version}" > "7.0"
+%if %{with apcu}
: Check that apcu is aware of zstd serializer
%{__php} --no-php-ini \
--define extension=apcu.so \
@@ -246,6 +245,9 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
%changelog
+* Mon Jan 23 2023 Remi Collet <remi@remirepo.net> - 0.12.1-1
+- update to 0.12.1
+
* Tue Nov 22 2022 Remi Collet <remi@remirepo.net> - 0.12.0-1
- update to 0.12.0