summaryrefslogtreecommitdiff
path: root/nasm.spec.in
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-04 17:17:28 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-04 17:17:28 -0700
commitfb7753bc2b42fd48922cf2629e5141c8a5b42696 (patch)
tree18416ba2aa67a366b24a8c4e95c4d8941eb39527 /nasm.spec.in
parent855f50b70baff55e0c8c413aabda62499be2d45a (diff)
downloadnasm-fb7753bc2b42fd48922cf2629e5141c8a5b42696.tar.gz
nasm.spec.in: need perl; .pdf.xz now build by standard Makefile
Building NASM from scratch needs perl. .pdf.xz is now build by the standard NASM Makefile.in, so don't do it again (it causes failures.) Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'nasm.spec.in')
-rw-r--r--nasm.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/nasm.spec.in b/nasm.spec.in
index 35067f21..7882a02a 100644
--- a/nasm.spec.in
+++ b/nasm.spec.in
@@ -15,6 +15,7 @@ BuildRequires: automake
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: xz
+BuildRequires: perl
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%package doc
@@ -47,9 +48,8 @@ include linker, library manager, loader, and information dump.
%build
sh autogen.sh
-%configure --disable-pdf-compression --enable-sections
+%configure --enable-sections
make %{?_smp_mflags} everything
-xz -9ef doc/nasmdoc.pdf
%install
rm -rf "%{buildroot}"