From bc2992e1a239f68d8810b4d954ea3cbf80acbe94 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 7 Feb 2023 20:47:08 +0000 Subject: [PATCH] Disable tests by default in RHEL builds This avoids unwanted dependencies in RHEL and ELN. --- python-zstandard.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python-zstandard.spec b/python-zstandard.spec index c67f48e..d7f00f7 100644 --- a/python-zstandard.spec +++ b/python-zstandard.spec @@ -1,4 +1,9 @@ +%if 0%{?rhel} +%bcond_with check +%else %bcond_without check +%endif + %global pypi_name zstandard %if 0%{!?pytest:1} %global pytest %{expand:\\\