summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION6
-rw-r--r--php-pecl-event.spec17
3 files changed, 15 insertions, 10 deletions
diff --git a/PHPINFO b/PHPINFO
index 7ec0e63..6fcf984 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -7,5 +7,5 @@ Debug support => disabled
Extra functionality support including HTTP, DNS, and RPC => enabled
OpenSSL support => enabled
Thread safety support => disabled
-Extension version => 3.0.2
+Extension version => 3.0.2r1
libevent2 headers version => 2.1.8-stable
diff --git a/REFLECTION b/REFLECTION
index cb62d82..259923c 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #117 event version 3.0.2 ] {
+Extension [ <persistent> extension #121 event version 3.0.2r1 ] {
- Dependencies {
Dependency [ sockets (Required) ]
@@ -1517,8 +1517,8 @@ Extension [ <persistent> extension #117 event version 3.0.2 ] {
Constant [ public int OPT_CIPHER_SERVER_PREFERENCE ] { 15 }
Constant [ public int OPT_REQUIRE_CLIENT_CERT ] { 16 }
Constant [ public int OPT_VERIFY_CLIENT_ONCE ] { 17 }
- Constant [ public string OPENSSL_VERSION_TEXT ] { OpenSSL 1.1.1h FIPS 22 Sep 2020 }
- Constant [ public int OPENSSL_VERSION_NUMBER ] { 269488271 }
+ Constant [ public string OPENSSL_VERSION_TEXT ] { OpenSSL 1.1.1i FIPS 8 Dec 2020 }
+ Constant [ public int OPENSSL_VERSION_NUMBER ] { 269488287 }
Constant [ public int SSL3_VERSION ] { 768 }
Constant [ public int TLS1_VERSION ] { 769 }
Constant [ public int TLS1_1_VERSION ] { 770 }
diff --git a/php-pecl-event.spec b/php-pecl-event.spec
index 6a7b4b0..58f429b 100644
--- a/php-pecl-event.spec
+++ b/php-pecl-event.spec
@@ -3,7 +3,7 @@
#
# Fedora spec file for php-pecl-event
#
-# Copyright (c) 2013-2020 Remi Collet
+# Copyright (c) 2013-2021 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -33,15 +33,17 @@
%endif
%global upstream_version 3.0.2
#global upstream_prever RC3
+%global upstream_postver r1
Summary: Provides interface to libevent library
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
+Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}%{?upstream_postver:+%{upstream_postver}}
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: https://pecl.php.net/package/event
-Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
+Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}%{?upstream_postver}.tgz
+BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
@@ -103,7 +105,7 @@ sed -e 's/role="test"/role="src"/' \
%{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
-i package.xml
-mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS
+mv %{pecl_name}-%{upstream_version}%{?upstream_prever}%{?upstream_postver} NTS
cd NTS
# Sanity check, really often broken
@@ -111,8 +113,8 @@ DIR=$(%{__php} -r 'echo "php" . PHP_MAJOR_VERSION;')
sed -e '/PHP_EVENT_VERSION/s/2.4.2/2.4.3/' -i $DIR/php_event.h
extver=$(sed -n '/#define PHP_EVENT_VERSION/{s/.* "//;s/".*$//;p}' $DIR/php_event.h)
-if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
- : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_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 ..
@@ -260,6 +262,9 @@ fi
%changelog
+* Tue Feb 16 2021 Remi Collet <remi@remirepo.net> - 3.0.2+r1-1
+- update to 3.0.2r1 (stable)
+
* Mon Dec 7 2020 Remi Collet <remi@remirepo.net> - 3.0.2-1
- update to 3.0.2