summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-16 13:07:14 +0100
committerRemi Collet <remi@remirepo.net>2020-01-16 13:07:14 +0100
commitc76d37ca7cf510fbcd81043c8cd165f938322152 (patch)
treee833b8ca1ac3cbd8341f0abbcf518dc352bcafba
parenteba4f069b96324d2e9a9a5ad6e9ede5a75ac6060 (diff)
update to 1.0.3RC
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-mysqlnd-azure.spec20
2 files changed, 14 insertions, 8 deletions
diff --git a/REFLECTION b/REFLECTION
index c8e73dd..00a187a 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #124 mysqlnd_azure version 1.0.2 ] {
+Extension [ <persistent> extension #108 mysqlnd_azure version 1.0.3RC ] {
- Dependencies {
Dependency [ mysqlnd (Required) ]
diff --git a/php-pecl-mysqlnd-azure.spec b/php-pecl-mysqlnd-azure.spec
index d705085..d3a01f8 100644
--- a/php-pecl-mysqlnd-azure.spec
+++ b/php-pecl-mysqlnd-azure.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-mysqlnd-azure
#
-# Copyright (c) 2019 Remi Collet
+# Copyright (c) 2020 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -22,14 +22,17 @@
# After 20-json, 20-mysqlnd
%global ini_name 40-%{pecl_name}.ini
+%global upstream_version 1.0.3
+%global upstream_prever RC
+
Summary: Redirection plugin for mysqlnd
Name: %{?sub_prefix}php-pecl-mysqlnd-azure
-Version: 1.0.2
+Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
-URL: http://pecl.php.net/package/%{pecl_name}
-Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
+URL: https://pecl.php.net/package/%{pecl_name}
+Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7.2.15
@@ -84,7 +87,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%prep
%setup -qc
-mv %{pecl_name}-%{version} NTS
+mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS
# Don't install/register tests
sed -e 's/role="test"/role="src"/' \
@@ -95,8 +98,8 @@ 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)
-if test "x${extver}" != "x%{version}%{?prever}%{?gh_date:-dev}"; then
- : Error: Upstream YAC version is ${extver}, expecting %{version}%{?prever}%{?gh_date:-dev}.
+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}.
exit 1
fi
cd ..
@@ -268,6 +271,9 @@ fi
%changelog
+* Thu Jan 16 2020 Remi Collet <remi@remirepo.net> - 1.0.3~RC-1
+- update to 1.0.3RC
+
* Wed Nov 20 2019 Remi Collet <remi@remirepo.net> - 1.0.2-1
- update to 1.0.2