summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-justinrainbow-json-schema5.spec4
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})