From bb0248de01c4d2fe726420f8e1ea6e780e052638 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 17 Jun 2022 15:08:10 +0200 Subject: add patch for PHP 8.2 from https://github.com/zeromq/php-zmq/pull/228 --- php-pecl-zmq.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'php-pecl-zmq.spec') diff --git a/php-pecl-zmq.spec b/php-pecl-zmq.spec index bd79c65..57539d9 100644 --- a/php-pecl-zmq.spec +++ b/php-pecl-zmq.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-pecl-zmq # -# Copyright (c) 2013-2021 Remi Collet +# Copyright (c) 2013-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -26,13 +26,14 @@ Summary: ZeroMQ messaging Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.1.3 -Release: 15%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 16%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz Patch0: https://patch-diff.githubusercontent.com/raw/zeromq/php-zmq/pull/216.patch Patch1: https://patch-diff.githubusercontent.com/raw/zeromq/php-zmq/pull/222.patch +Patch2: https://patch-diff.githubusercontent.com/raw/zeromq/php-zmq/pull/228.patch BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -98,6 +99,7 @@ mv %{pecl_name}-%{version} NTS cd NTS %patch0 -p1 -b .pr216 %patch1 -p1 -b .pr222 +%patch2 -p1 -b .pr228 if pkg-config libzmq --atleast-version=4 then @@ -240,6 +242,9 @@ export TEST_PHP_EXECUTABLE=%{__ztsphp} %changelog +* Fri Jun 17 2022 Remi Collet - 1.1.3-16 +- add patch for PHP 8.2 from https://github.com/zeromq/php-zmq/pull/228 + * Wed Nov 3 2021 Remi Collet - 1.1.3-15 - add patch for PHP 8.1 from https://github.com/zeromq/php-zmq/pull/222 -- cgit