summaryrefslogtreecommitdiffstats
path: root/php-pecl-mysql-xdevapi.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-29 10:21:23 +0200
committerRemi Collet <remi@remirepo.net>2018-06-29 10:21:23 +0200
commit10e595140bc7cea2081402afcd409988dad7f67a (patch)
treed950ef3daa0be6a927206640c19865ed340b1845 /php-pecl-mysql-xdevapi.spec
parentc1d8e4abb3d90e29329793b6ec3d9ca1f40338e2 (diff)
add upstream patch for 7.3
Diffstat (limited to 'php-pecl-mysql-xdevapi.spec')
-rw-r--r--php-pecl-mysql-xdevapi.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/php-pecl-mysql-xdevapi.spec b/php-pecl-mysql-xdevapi.spec
index 06855db..915936f 100644
--- a/php-pecl-mysql-xdevapi.spec
+++ b/php-pecl-mysql-xdevapi.spec
@@ -28,10 +28,11 @@ Version: 8.0.11
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
-Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
+Patch0: https://github.com/php/pecl-database-mysql_xdevapi/commit/f7fe2b6f7a184c92ff50290f3c2adfd4dcead010.patch
+
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?dtsprefix}gcc-c++
BuildRequires: %{?scl_prefix}php-devel > 7.1
@@ -122,6 +123,8 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
+%patch0 -p1 -b .upstream
+
# 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
@@ -309,6 +312,9 @@ fi
%changelog
+* Fri Jun 29 2018 Remi Collet <remi@remirepo.net> - 8.0.11-2
+- add upstream patch for 7.3
+
* Fri Apr 20 2018 Remi Collet <remi@remirepo.net> - 8.0.11-1
- update to 8.0.11 (stable)