From d36dd4c77ea53076981a1b9727117e301869945a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 28 Sep 2023 16:14:00 +0200 Subject: add condition for tests --- php-justinrainbow-json-schema5.spec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'php-justinrainbow-json-schema5.spec') diff --git a/php-justinrainbow-json-schema5.spec b/php-justinrainbow-json-schema5.spec index b4d5d20..d3ce35f 100644 --- a/php-justinrainbow-json-schema5.spec +++ b/php-justinrainbow-json-schema5.spec @@ -7,8 +7,12 @@ # Please, preserve the changelog entries # +%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10 # disable test suite until recent phpunit is supported %bcond_with tests +%else +%bcond_without tests +%endif %global gh_commit fbbe7e5d79f618997bc3332a6f49246036c45793 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -- cgit