summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-07-17 10:48:48 +0200
committerRemi Collet <remi@php.net>2023-07-17 10:48:48 +0200
commit505d0e72d1315a2d7dd5bcdbc265bf8deb15106c (patch)
tree34ffd2d5edb43a669320964add77db8f0066531a
parenta5fc9bc8a70e09e5eda9d03fef10fb7b90d59aea (diff)
enable ZTS build
-rw-r--r--php-pecl-protobuf.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec
index 182a939..5f12ad3 100644
--- a/php-pecl-protobuf.spec
+++ b/php-pecl-protobuf.spec
@@ -10,7 +10,7 @@
%{?scl:%scl_package php-pecl-protobuf}
%global pecl_name protobuf
-%global with_zts 0
+%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
%global upstream_version 3.24.0
%global upstream_prever RC1
@@ -20,7 +20,7 @@
Summary: Mechanism for serializing structured data
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# protobuf extension is BSD
# third_party/utf8_range is MIT
License: BSD-3-Clause and MIT
@@ -188,6 +188,9 @@ fi
%changelog
+* Mon Jul 17 2023 Remi Collet <remi@remirepo.net> - 3.24.0~RC1-2
+- enable ZTS build
+
* Wed Jul 12 2023 Remi Collet <remi@remirepo.net> - 3.24.0~RC1-1
- update to 3.24.0RC1