summaryrefslogtreecommitdiffstats
path: root/php-pecl-event.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-event.spec')
-rw-r--r--php-pecl-event.spec16
1 files changed, 12 insertions, 4 deletions
diff --git a/php-pecl-event.spec b/php-pecl-event.spec
index 27d5ac0..4db84e5 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-2021 Remi Collet
+# Copyright (c) 2013-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -31,8 +31,8 @@
# After 20-sockets.so
%global ini_name 40-%{pecl_name}.ini
%endif
-%global upstream_version 3.0.6
-#global upstream_prever RC3
+%global upstream_version 3.0.7
+#global upstream_prever RC1
#global upstream_postver r1
Summary: Provides interface to libevent library
@@ -113,7 +113,7 @@ mv %{pecl_name}-%{upstream_version}%{?upstream_prever}%{?upstream_postver} NTS
cd NTS
# Sanity check, really often broken
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
+#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}%{?upstream_postver}"; then
@@ -141,6 +141,7 @@ cd NTS
%{_bindir}/phpize
%configure \
--with-event-libevent-dir=%{_event_prefix} \
+ --with-openssl-dir=%{_root_prefix} \
--with-libdir=%{_lib} \
--with-event-core \
--with-event-extra \
@@ -153,6 +154,7 @@ cd ../ZTS
%{_bindir}/zts-phpize
%configure \
--with-event-libevent-dir=%{_event_prefix} \
+ --with-openssl-dir=%{_root_prefix} \
--with-libdir=%{_lib} \
--with-event-core \
--with-event-extra \
@@ -265,6 +267,12 @@ fi
%changelog
+* Mon May 30 2022 Remi Collet <remi@remirepo.net> - 3.0.7-1
+- update to 3.0.7
+
+* Tue Oct 19 2021 Remi Collet <remi@remirepo.net> - 3.0.7~RC1-1
+- update to 3.0.7RC1
+
* Thu Sep 23 2021 Remi Collet <remi@remirepo.net> - 3.0.6-1
- update to 3.0.6