summaryrefslogtreecommitdiffstats
path: root/php-pecl-eio.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-eio.spec')
-rw-r--r--php-pecl-eio.spec15
1 files changed, 5 insertions, 10 deletions
diff --git a/php-pecl-eio.spec b/php-pecl-eio.spec
index fd4aaa0..d736b94 100644
--- a/php-pecl-eio.spec
+++ b/php-pecl-eio.spec
@@ -27,7 +27,7 @@
%endif
%global upstream_version 3.1.0
-%global upstream_prever RC1
+#global upstream_prever RC1
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
@@ -38,14 +38,12 @@
Summary: Provides interface to the libeio library
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# Extension is PHP-3.01, library is BSD-2-Clause (or GPL-2.0-or-later)
License: PHP-3.01 AND BSD-2-Clause
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
-Patch0: %{pecl_name}-php83.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
@@ -87,12 +85,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd %{sources}
-%if "%{php_version}" >= "8.3"
-%patch -P0 -p1
-%endif
-
-sed -e 's/3.0.0RC5/%{upstream_version}%{?upstream_prever}/' -i php%(%{__php} -r 'echo PHP_MAJOR_VERSION;')/php_eio.h
-
# Sanity check, really often broken
extver=$(sed -n '/define PHP_EIO_VERSION/{s/.* "//;s/".*$//;p}' php%(%{__php} -r 'echo PHP_MAJOR_VERSION;')/php_eio.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
@@ -234,6 +226,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Mon Sep 11 2023 Remi Collet <remi@remirepo.net> - 3.1.0-1
+- update to 3.1.0
+
* Tue Sep 5 2023 Remi Collet <remi@remirepo.net> - 3.1.0~RC1-2
- add patch for PHP from discussion on
https://github.com/rosmanov/pecl-eio/issues/19