Default to building nasm without documentation for RHEL

This commit is contained in:
Nick Clifton 2021-03-09 17:47:13 +00:00
parent c6735084c3
commit be15b7b4a6

View File

@ -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 <nickc@redhat.com> - 2.15.03-5
- Default to building without documentation for RHEL. (#1933222)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.03-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild