From 48d0d9e4164a9c87ccc455e67f67b9752873a043 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 10 Nov 2021 11:19:06 +0100 Subject: disable test suite, fix FTBFS #1923569 --- php-laminas-di.spec | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/php-laminas-di.spec b/php-laminas-di.spec index dfc6f1e..ad82879 100644 --- a/php-laminas-di.spec +++ b/php-laminas-di.spec @@ -1,11 +1,15 @@ # remirepo/Fedora spec file for php-laminas-di # -# Copyright (c) 2015-2020 Remi Collet +# Copyright (c) 2015-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # + +# disabled as failed on recent version +%bcond_with tests + %global bootstrap 0 %global gh_commit 239b22408a1f8eacda6fc2b838b5065c4cf1d88e %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) @@ -15,15 +19,10 @@ %global php_home %{_datadir}/php %global namespace Laminas %global library Di -%if %{bootstrap} -%global with_tests 0%{?_with_tests:1} -%else -%global with_tests 0%{!?_without_tests:1} -%endif Name: php-%{gh_project} Version: 2.6.1 -Release: 2%{?dist} +Release: 5%{?dist} Summary: Laminas Framework %{library} component License: BSD @@ -33,7 +32,7 @@ Source1: makesrc.sh BuildArch: noarch # Tests -%if %{with_tests} +%if %{with tests} BuildRequires: php(language) >= 5.5 BuildRequires: php-reflection BuildRequires: php-pcre @@ -149,7 +148,7 @@ cp -pr zf.php %{buildroot}%{php_home}/Zend/%{library}/autoload.php %check -%if %{with_tests} +%if %{with tests} mkdir vendor cat << 'EOF' | tee vendor/autoload.php - 2.6.1-5 +- disable test suite, fix FTBFS #1923569 + * Fri Jan 17 2020 Remi Collet - 2.6.1-2 - cleanup -- cgit