diff options
Diffstat (limited to 'php-snuffleupagus.spec')
| -rw-r--r-- | php-snuffleupagus.spec | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/php-snuffleupagus.spec b/php-snuffleupagus.spec index 29bcf7c..cc4b9ea 100644 --- a/php-snuffleupagus.spec +++ b/php-snuffleupagus.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-snuffleupagus # -# SPDX-FileCopyrightText: Copyright 2018-2025 Remi Collet +# SPDX-FileCopyrightText: Copyright 2018-2026 Remi Collet # SPDX-License-Identifier: CECILL-2.1 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # @@ -16,7 +16,7 @@ %bcond_without tests -%global gh_commit 1c7598c432551d0c49c2c57f249ccd5ccabce638 +%global gh_commit 5f944e2b1085bdd07b75f7c13bec2b2ad49ea09e %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner jvoisin %global gh_project snuffleupagus @@ -31,19 +31,17 @@ Summary: Security module for PHP Name: %{?scl_prefix}php-snuffleupagus -Version: 0.12.0 +Version: 0.13.0 %if 0%{?gh_date} -Release: 1%{gh_date}.%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{gh_date}.%{gh_short}%{?dist} %else -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist} %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 @@ -75,8 +73,6 @@ 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 @@ -171,6 +167,9 @@ VER=$(%{__php} -r 'echo PHP_VERSION_ID;') if [ $VER -lt 80000 ]; then rm -rf src/tests/*php8*/ fi +if [ $VER -lt 70100 ]; then + rm -rf src/tests/session_encryption/set_custom_session_handler2.phpt +fi cd %{sources} export SP_SKIP_OLD_PHP_CHECK=1 @@ -216,6 +215,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Jan 7 2026 Remi Collet <remi@remirepo.net> - 0.13.0-1 +- update to 0.13.0 + * Thu Oct 2 2025 Remi Collet <remi@remirepo.net> - 0.12.0-3 - add upstream patch for PHP 8.5.0RC1 |
