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