From be15b7b4a66b0f0928b5ccac128c1022043e9c91 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 9 Mar 2021 17:47:13 +0000 Subject: [PATCH] Default to building nasm without documentation for RHEL --- nasm.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nasm.spec b/nasm.spec index de4f304..d4b1189 100644 --- a/nasm.spec +++ b/nasm.spec @@ -1,9 +1,15 @@ +%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 Version: 2.15.03 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD URL: http://www.nasm.us Source0: https://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}.tar.xz @@ -96,6 +102,9 @@ make all %{?_smp_mflags} %{_mandir}/man1/ld* %changelog +* Tue Mar 09 2021 Nick Clifton - 2.15.03-5 +- Default to building without documentation for RHEL. (#1933222) + * Tue Jan 26 2021 Fedora Release Engineering - 2.15.03-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild