summaryrefslogtreecommitdiffstats
path: root/php-pecl-protobuf.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-09-18 12:55:08 +0200
committerRemi Collet <remi@remirepo.net>2021-09-18 12:55:08 +0200
commit79f188a39c68e9d83f37b908c5f81c454f5b9430 (patch)
tree065bc7c7ec9c2353197472a24f9243bf8a502e81 /php-pecl-protobuf.spec
parent8d8f84b2bebd02ffc2e16335dad17e401f98b157 (diff)
update to 3.18.0
Diffstat (limited to 'php-pecl-protobuf.spec')
-rw-r--r--php-pecl-protobuf.spec11
1 files changed, 5 insertions, 6 deletions
diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec
index 9919a19..ce5fa6a 100644
--- a/php-pecl-protobuf.spec
+++ b/php-pecl-protobuf.spec
@@ -18,19 +18,17 @@
%global pecl_name protobuf
%global with_zts 0
%global ini_name 40-%{pecl_name}.ini
-%global upstream_version 3.17.3
+%global upstream_version 3.18.0
#global upstream_prever RC2
Summary: Mechanism for serializing structured data
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
-Patch0: %{pecl_name}-php81.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7.0
@@ -87,8 +85,6 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
-%patch0 -p5 -b .php81
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_PROTOBUF_VERSION/{s/.* "//;s/".*$//;p}' protobuf.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
@@ -208,6 +204,9 @@ fi
%changelog
+* Sat Sep 18 2021 Remi Collet <remi@remirepo.net> - 3.18.0-1
+- update to 3.18.0
+
* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 3.17.3-2
- rebuild for 8.1.0RC1