diff options
author | Remi Collet <remi@remirepo.net> | 2023-09-28 16:14:00 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-09-28 16:14:00 +0200 |
commit | d36dd4c77ea53076981a1b9727117e301869945a (patch) | |
tree | c74a4531632b9348bd8158e507af9890a6000849 | |
parent | a2ca54a14734cb3976dfb3d09705edb0a6ba95c3 (diff) |
add condition for tests
-rw-r--r-- | php-justinrainbow-json-schema5.spec | 4 |
1 files changed, 4 insertions, 0 deletions
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}) |