From e860ec921c67db372fe5cd122431807a58e3aed5 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 5 Jun 2023 23:39:47 -0400 Subject: [PATCH] Disable docs in RHEL builds RHEL does not include all the doc build dependencies. --- python-chardet.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-chardet.spec b/python-chardet.spec index cdddd3e..90f42e2 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -2,7 +2,8 @@ # https://bugzilla.redhat.com/show_bug.cgi?id=2006555 for discussion. # # We can generate PDF documentation as a substitute. -%bcond_without doc_pdf +# RHEL does not include all the doc dependencies +%bcond doc_pdf %{undefined rhel} Name: python-chardet Version: 5.1.0