diff options
author | Remi Collet <remi@remirepo.net> | 2021-02-16 07:36:24 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-02-16 07:36:24 +0100 |
commit | 521c884b4fc7165a292a429740624cb008b1d743 (patch) | |
tree | dc5ab76b2e1eced298c56e38b50504f6a1db6894 | |
parent | fcf48ca02f45952bb207dc4474a49ebc43d4e9e1 (diff) |
update to 1.1.1r1 (stable)
-rw-r--r-- | PHPINFO | 2 | ||||
-rw-r--r-- | REFLECTION | 2 | ||||
-rw-r--r-- | php-pecl-ev.spec | 18 |
3 files changed, 14 insertions, 8 deletions
@@ -3,4 +3,4 @@ ev Ev support => enabled Debug support => disabled -Version => 1.1.1 +Version => 1.1.1r1 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #118 ev version 1.1.1 ] { +Extension [ <persistent> 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 <remi@remirepo.net> - 1.1.1+r1-1 +- update to 1.1.1r1 (stable) + * Thu Feb 4 2021 Remi Collet <remi@remirepo.net> - 1.1.1-1 - update to 1.1.1 |