From 4de683896e16cbce61bd52db8ce698d809d85d34 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 29 Sep 2025 11:33:29 +0200 Subject: add upstream patch for PHP 8.5.0beta2 --- php-snuffleupagus.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'php-snuffleupagus.spec') diff --git a/php-snuffleupagus.spec b/php-snuffleupagus.spec index 26330e7..9123710 100644 --- a/php-snuffleupagus.spec +++ b/php-snuffleupagus.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-snuffleupagus # -# SPDX-FileCopyrightText: Copyright 201825 Remi Collet +# SPDX-FileCopyrightText: Copyright 2018-2025 Remi Collet # SPDX-License-Identifier: CECILL-2.1 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # @@ -35,13 +35,15 @@ Version: 0.12.0 %if 0%{?gh_date} Release: 1%{gh_date}.%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif License: LGPL-3.0-only Group: Development/Languages URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pkg_name}-%{version}-%{gh_short}.tar.gz +Patch0: php85.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 # For tests/upload_validation_real.phpt @@ -73,6 +75,8 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %setup -q -n %{gh_project}-%{gh_commit} cd %{sources} +%patch -P0 -p2 + # Sanity check, really often broken grep PHP_SNUFFLEUPAGUS_VERSION php_snuffleupagus.h # sed -e '/PHP_SNUFFLEUPAGUS_VERSION/s/0.9.0/0.8.0/' -i php_snuffleupagus.h @@ -212,6 +216,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Sep 4 2025 Remi Collet - 0.12.0-2 +- add upstream patch for PHP 8.5.0beta2 + * Wed Aug 27 2025 Remi Collet - 0.12.0-1 - update to 0.12.0 - re-license spec file to CECILL-2.1 -- cgit