[packages/php/ini: 2/3] update to 7.4.0beta2
glen
glen at pld-linux.org
Sat Aug 10 19:31:02 CEST 2019
commit 19fdf71ee948efb6ed43d13fe25b7e351095a0c4
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Sat Aug 10 19:37:02 2019 +0300
update to 7.4.0beta2
php.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/php.spec b/php.spec
index 3e3377a..bbbde11 100644
--- a/php.spec
+++ b/php.spec
@@ -146,7 +146,7 @@
%undefine with_pdo_sqlite
%endif
-%define subver beta1
+%define subver beta2
%define rel 1
%define orgname php
%define ver_suffix 74
@@ -168,7 +168,7 @@ License: PHP 3.01 and Zend and BSD
Group: Libraries
#Source0: https://php.net/distributions/%{orgname}-%{version}.tar.xz
Source0: https://downloads.php.net/~derick/php-%{version}%{subver}.tar.xz
-# Source0-md5: fa3501cf158adce37359667383ddb672
+# Source0-md5: 51a42ffa81be306d7a1b2f073e4fba05
Source1: opcache.ini
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
@@ -307,7 +307,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define fileinfover %{version}
%define hashver %{version}
%define intlver %{version}
-%define jsonver 1.7.0
+%define jsonver %{version}
%define pharver %{version}
%define sqlite3ver %{version}
%define zipver 1.15.4
@@ -2066,8 +2066,8 @@ if test "$ver" != "%{zipver}"; then
: Update the zipver macro and rebuild.
exit 1
fi
-ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
-if test "$ver" != "%{jsonver}"; then
+ver=$(get_version PHP_JSON_VERSION ext/json/php_json.h)
+if test "$ver" != "PHP_VERSION"; then
: Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
: Update the jsonver macro and rebuild.
exit 1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/9b2d9fd8727d42b8bdf90a25c32a4c94e62ea0a2
More information about the pld-cvs-commit
mailing list