From c76d37ca7cf510fbcd81043c8cd165f938322152 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 16 Jan 2020 13:07:14 +0100 Subject: update to 1.0.3RC --- REFLECTION | 2 +- php-pecl-mysqlnd-azure.spec | 20 +++++++++++++------- 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 [ extension #124 mysqlnd_azure version 1.0.2 ] { +Extension [ 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 - 1.0.3~RC-1 +- update to 1.0.3RC + * Wed Nov 20 2019 Remi Collet - 1.0.2-1 - update to 1.0.2 -- cgit