From d1ecf18d3872e813411fdf80c639c44f5641d95f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 14 Feb 2020 08:48:59 +0100 Subject: update to 1.1.0 --- php-pecl-mysqlnd-azure.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'php-pecl-mysqlnd-azure.spec') diff --git a/php-pecl-mysqlnd-azure.spec b/php-pecl-mysqlnd-azure.spec index 6744bbf..d150e23 100644 --- a/php-pecl-mysqlnd-azure.spec +++ b/php-pecl-mysqlnd-azure.spec @@ -22,7 +22,7 @@ # After 20-json, 20-mysqlnd %global ini_name 40-%{pecl_name}.ini -%global upstream_version 1.0.3 +%global upstream_version 1.1.0 #global upstream_prever RC Summary: Redirection plugin for mysqlnd @@ -97,9 +97,9 @@ sed -e 's/role="test"/role="src"/' \ cd NTS # Check version as upstream often forget to update this -extver=$(sed -n '/#define EXT_MYSQLND_AZURE_VERSION/{s/.* "//;s/".*$//;p}' php_mysqlnd_azure.h) +extver=$(sed -n '/#define PHP_MYSQLND_AZURE_VERSION/{s/.* "//;s/".*$//;p}' php_mysqlnd_azure.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?gh_date:-dev}"; then - : Error: Upstream YAC version is ${extver}, expecting %{upstream_version}%{?upstream_prever}%{?gh_date:-dev}. + : Error: Upstream version is ${extver}, expecting %{upstream_version}%{?upstream_prever}%{?gh_date:-dev}. exit 1 fi cd .. @@ -116,7 +116,7 @@ cat > %{ini_name} << 'EOF' extension=%{pecl_name}.so ; Configuration -;mysqlnd_azure.enabled = 0 +;mysqlnd_azure.enableRedirect = 'preferred' EOF @@ -271,6 +271,9 @@ fi %changelog +* Fri Feb 14 2020 Remi Collet - 1.1.0-1 +- update to 1.1.0 + * Mon Feb 10 2020 Remi Collet - 1.0.3-1 - update to 1.0.3 -- cgit