summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO4
-rw-r--r--REFLECTION6
-rw-r--r--php-pecl-mysqlnd-azure.spec11
3 files changed, 12 insertions, 9 deletions
diff --git a/PHPINFO b/PHPINFO
index b06acdc..f9bcd07 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -1,5 +1,5 @@
mysqlnd_azure
-mysqlnd_azure => enabled
-enabled => No
+mysqlnd_azure => enableRedirect
+enableRedirect => preferred
diff --git a/REFLECTION b/REFLECTION
index 2d6dd07..41e6602 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,12 +1,12 @@
-Extension [ <persistent> extension #110 mysqlnd_azure version 1.0.3 ] {
+Extension [ <persistent> extension #110 mysqlnd_azure version 1.1.0 ] {
- Dependencies {
Dependency [ mysqlnd (Required) ]
}
- INI {
- Entry [ mysqlnd_azure.enabled <ALL> ]
- Current = '0'
+ Entry [ mysqlnd_azure.enableRedirect <ALL> ]
+ Current = 'preferred'
}
}
}
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 <remi@remirepo.net> - 1.1.0-1
+- update to 1.1.0
+
* Mon Feb 10 2020 Remi Collet <remi@remirepo.net> - 1.0.3-1
- update to 1.0.3