diff options
Diffstat (limited to 'php-snuffleupagus.spec')
-rw-r--r-- | php-snuffleupagus.spec | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/php-snuffleupagus.spec b/php-snuffleupagus.spec index b0994a0..d2e82b7 100644 --- a/php-snuffleupagus.spec +++ b/php-snuffleupagus.spec @@ -36,13 +36,15 @@ Version: 0.9.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: upstream.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: pcre-devel @@ -73,6 +75,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %prep %setup -q -n %{gh_project}-%{gh_commit} +%patch0 -p1 cd src # Sanity check, really often broken @@ -166,10 +169,6 @@ fi %if "%{php_version}" < "8" rm -rf src/tests/*php8*/ %endif -%if "%{php_version}" > "8.2" -# https://github.com/jvoisin/snuffleupagus/issues/444 -rm -rf src/tests/deny_writable -%endif export SP_SKIP_OLD_PHP_CHECK=1 @@ -227,6 +226,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Jan 5 2023 Remi Collet <remi@remirepo.net> - 0.9.0-2 +- test build for upstream fix for gh#444 + * Wed Jan 4 2023 Remi Collet <remi@remirepo.net> - 0.9.0-1 - update to 0.9.0 - open https://github.com/jvoisin/snuffleupagus/issues/444 borked tests with 8.2 |