From c1d8e4abb3d90e29329793b6ec3d9ca1f40338e2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 20 Apr 2018 07:19:02 +0200 Subject: v8.0.11 (stable) --- php-pecl-mysql-xdevapi.spec | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'php-pecl-mysql-xdevapi.spec') diff --git a/php-pecl-mysql-xdevapi.spec b/php-pecl-mysql-xdevapi.spec index 819bb7e..06855db 100644 --- a/php-pecl-mysql-xdevapi.spec +++ b/php-pecl-mysql-xdevapi.spec @@ -1,11 +1,15 @@ # remirepo spec file for php-pecl-mysql-xdevapi # -# Copyright (c) 2016-2017 Remi Collet +# Copyright (c) 2016-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # + +# we don't want -z defs linker flag +%undefine _strict_symbol_defs_build + %if 0%{?scl:1} %global sub_prefix %{scl_prefix} %scl_package php-pecl-mysql-xdevapi @@ -20,7 +24,7 @@ Summary: MySQL database access functions Name: %{?sub_prefix}php-pecl-mysql-xdevapi -Version: 8.0.3 +Version: 8.0.11 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP @@ -28,11 +32,11 @@ Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz -# Workaround for out-of-tree build -Patch0: %{pecl_name}-build.patch - +BuildRequires: %{?dtsprefix}gcc +BuildRequires: %{?dtsprefix}gcc-c++ BuildRequires: %{?scl_prefix}php-devel > 7.1 BuildRequires: %{?scl_prefix}php-mysqlnd +BuildRequires: %{?scl_prefix}php-hash BuildRequires: %{?scl_prefix}php-json BuildRequires: %{?scl_prefix}php-pear BuildRequires: protobuf-devel @@ -48,6 +52,7 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} Requires: %{?scl_prefix}php-mysqlnd%{?_isa} Requires: %{?scl_prefix}php-json%{?_isa} +Requires: %{?scl_prefix}php-hash%{?_isa} %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} Provides: %{?scl_prefix}php-%{pecl_name} = %{version} @@ -101,6 +106,9 @@ data. * Modern practices and syntax styles are used to get away from traditional SQL-String-Building. See Chapter 10, Building Expressions. +Documentation: http://php.net/mysql-xdevapi + + Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. @@ -114,8 +122,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -%patch0 -p1 -b .old - # Check version as upstream often forget to update this extver=$(sed -n '/#define PHP_MYSQL_XDEVAPI_VERSION/{s/.* "//;s/".*$//;p}' php_mysql_xdevapi.h) if test "x${extver}" != "x%{version}%{?prever}%{?gh_date:-dev}"; then @@ -151,6 +157,8 @@ EOF peclconf() { %configure \ --enable-mysql-xdevapi \ + --with-boost \ + --with-protobuf \ --with-php-config=$1 } @@ -266,7 +274,7 @@ exit $RET %endif -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 8 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -301,6 +309,12 @@ fi %changelog +* Fri Apr 20 2018 Remi Collet - 8.0.11-1 +- update to 8.0.11 (stable) + +* Thu Feb 1 2018 Remi Collet - 8.0.4-1 +- Update to 8.0.4 (alpha) + * Fri Nov 3 2017 Remi Collet - 8.0.3-1 - Update to 8.0.3 (alpha) -- cgit