From 521c884b4fc7165a292a429740624cb008b1d743 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 16 Feb 2021 07:36:24 +0100 Subject: update to 1.1.1r1 (stable) --- PHPINFO | 2 +- REFLECTION | 2 +- php-pecl-ev.spec | 18 ++++++++++++------ 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/PHPINFO b/PHPINFO index 8e0a18a..b1dcd2b 100644 --- a/PHPINFO +++ b/PHPINFO @@ -3,4 +3,4 @@ ev Ev support => enabled Debug support => disabled -Version => 1.1.1 +Version => 1.1.1r1 diff --git a/REFLECTION b/REFLECTION index 938f1f9..2a48672 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #118 ev version 1.1.1 ] { +Extension [ extension #121 ev version 1.1.1r1 ] { - Dependencies { Dependency [ sockets (Optional) ] diff --git a/php-pecl-ev.spec b/php-pecl-ev.spec index 3083e00..cb3d16d 100644 --- a/php-pecl-ev.spec +++ b/php-pecl-ev.spec @@ -23,15 +23,18 @@ # After 20-sockets %global ini_name 40-%{pecl_name}.ini %endif -#global prever RC9 + +%global upstream_version 1.1.1 +#global upstream_prever RC3 +%global upstream_postver r1 Summary: Provides interface to libev library Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.1.1 +Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}%{?upstream_postver:+%{upstream_postver}} Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP URL: https://pecl.php.net/package/%{pecl_name} -Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}%{?upstream_postver}.tgz BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -78,7 +81,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %prep %setup -q -c -mv %{pecl_name}-%{version}%{?prever} NTS +mv %{pecl_name}-%{upstream_version}%{?upstream_prever}%{?upstream_postver} NTS # Don't register test files on install sed -e 's/role="test"/role="src"/' \ @@ -88,8 +91,8 @@ sed -e 's/role="test"/role="src"/' \ cd NTS # Sanity check, really often broken extver=$(sed -n '/define PHP_EV_VERSION/{s/.* "//;s/".*$//;p}' php%(%{__php} -r 'echo PHP_MAJOR_VERSION;')/php_ev.h) -if test "x${extver}" != "x%{version}%{?prever}"; then - : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}. +if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?upstream_postver}"; then + : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}%{?upstream_postver}. exit 1 fi cd .. @@ -225,6 +228,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Tue Feb 16 2021 Remi Collet - 1.1.1+r1-1 +- update to 1.1.1r1 (stable) + * Thu Feb 4 2021 Remi Collet - 1.1.1-1 - update to 1.1.1 -- cgit