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>
This commit is contained in:
H. Peter Anvin (Intel) 2020-06-04 17:17:28 -07:00
parent 855f50b70b
commit fb7753bc2b

View file

@ -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}"