summaryrefslogtreecommitdiffstats
path: root/php-pecl-protobuf.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-protobuf.spec')
-rw-r--r--php-pecl-protobuf.spec24
1 files changed, 16 insertions, 8 deletions
diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec
index a5757dd..4fc7b14 100644
--- a/php-pecl-protobuf.spec
+++ b/php-pecl-protobuf.spec
@@ -23,7 +23,7 @@
%global ini_name 40-%{pecl_name}.ini
%endif
%global upstream_version 3.8.0
-%global upstream_prever RC1
+#global upstream_prever RC1
Summary: Mechanism for serializing structured data
Name: %{?sub_prefix}php-pecl-%{pecl_name}
@@ -33,8 +33,6 @@ License: BSD
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
-Source1: https://raw.githubusercontent.com/protocolbuffers/protobuf/v3.8.0-rc1/php/ext/google/protobuf/builtin_descriptors.inc
-
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 5.5.9
BuildRequires: %{?scl_prefix}php-pear
@@ -63,9 +61,13 @@ Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
%endif
%if "%{php_version}" > "7.3"
-Obsoletes: php73u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php73-pecl-%{pecl_name} <= %{version}
Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.4"
+Obsoletes: php74-pecl-%{pecl_name} <= %{version}
+Obsoletes: php74w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -96,8 +98,6 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
-cp %{SOURCE1} .
-
# 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
@@ -214,11 +214,19 @@ fi
%changelog
-* Wed Mar 27 2019 Remi Collet <remi@remirepo.net> - 3.7.1-1
-- update to 3.7.1
+* Wed May 29 2019 Remi Collet <remi@remirepo.net> - 3.8.0-1
+- update to 3.8.0
+- open https://github.com/protocolbuffers/protobuf/issues/6180
+ PHP 7.4 support
+
+* Tue May 7 2019 Remi Collet <remi@remirepo.net> - 3.8.0~RC1-1
+- update to 3.8.0RC1
- open https://github.com/protocolbuffers/protobuf/issues/6108
missing file in pecl archive
+* Wed Mar 27 2019 Remi Collet <remi@remirepo.net> - 3.7.1-1
+- update to 3.7.1
+
* Fri Mar 1 2019 Remi Collet <remi@remirepo.net> - 3.7.0-1
- update to 3.7.0 (GA)