diff options
Diffstat (limited to 'php-pecl-protobuf.spec')
| -rw-r--r-- | php-pecl-protobuf.spec | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec index 0d41eaa..ce250ec 100644 --- a/php-pecl-protobuf.spec +++ b/php-pecl-protobuf.spec @@ -12,9 +12,9 @@ %global pecl_name protobuf %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini -%global library_version 34.1 +%global library_version 35.0 %global upstream_version 5.%{library_version} -#global upstream_prever RC1 +%global upstream_prever rc1 %global sources php/ext/google/protobuf %global _configure ../%{sources}/configure @@ -22,9 +22,9 @@ %global gh_vend protocolbuffers %global gh_proj protobuf %global forgeurl https://github.com/%{gh_vend}/%{gh_proj} -%global tag v%{library_version}%{?upstream_prever} +%global tag v%{library_version}%{?upstream_prever:-%{upstream_prever}} # for EL-8 to avoid TAG usage -%global archivename %{gh_proj}-%{library_version}%{?upstream_prever} +%global archivename %{gh_proj}-%{library_version}%{?upstream_prever:-%{upstream_prever}} Name: %{?scl_prefix}php-pecl-%{pecl_name} Summary: Mechanism for serializing structured data @@ -70,7 +70,7 @@ pushd %{sources} ln -s ../../../../third_party # Sanity check, really often broken -extver=$(sed -n '/#define PHP_PROTOBUF_VERSION/{s/.* "//;s/".*$//;p}' protobuf.h) +extver=$(sed -n '/#define PHP_PROTOBUF_VERSION/{s/.* "//;s/".*$//;p}' protobuf.h | tr '[:upper:]' '[:lower:]') if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}. exit 1 @@ -159,6 +159,9 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %changelog +* Tue Apr 21 2026 Remi Collet <remi@remirepo.net> - 5.35.0~rc1-1 +- update to 5.35.0RC1 + * Fri Mar 20 2026 Remi Collet <remi@remirepo.net> - 5.34.1-1 - update to 5.34.1 (no change) - drop pear/pecl dependency |
