[Nasm-commits] [nasm:nasm-2.15.xx] nasm.spec.in: need perl; .pdf.xz now build by standard Makefile

nasm-bot for H. Peter Anvin (Intel) hpa at zytor.com
Thu Jun 4 19:57:07 PDT 2020


Commit-ID:  fb7753bc2b42fd48922cf2629e5141c8a5b42696
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=fb7753bc2b42fd48922cf2629e5141c8a5b42696
Author:     H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Thu, 4 Jun 2020 17:17:28 -0700
Committer:  H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Thu, 4 Jun 2020 17:17:28 -0700

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 at zytor.com>


---
 nasm.spec.in | 4 ++--
 1 file 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}"


More information about the Nasm-commits mailing list