From e6ea29d9d3c1c1bd96b7b502d2bee29e75faef58 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 25 Feb 2021 22:54:35 -0500 Subject: [PATCH] Build without documentation in RHEL. Signed-off-by: Carlos O'Donell --- nasm.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nasm.spec b/nasm.spec index de4f304..8ca4ae2 100644 --- a/nasm.spec +++ b/nasm.spec @@ -1,4 +1,10 @@ +%if 0%{?rhel} > 0 +# On RHEL we default to building WITHOUT documentation. +%bcond_with documentation +%else +# Default to building WITH documentation. %bcond_without documentation +%endif Summary: A portable x86 assembler which uses Intel-like syntax Name: nasm