spec: update to match requirements of Fedora 14+
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 6 Jun 2011 21:53:22 +0000 (6 14:53 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 6 Jun 2011 21:53:22 +0000 (6 14:53 -0700)
"PreReq" is no longer accepted as an alias for "Requires".  Sigh.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
nasm.spec.in

index 1b70521..f1f9295 100644 (file)
@@ -10,15 +10,15 @@ Source: http://www.nasm.us/pub/nasm/releasebuilds/%{nasm_version}/nasm-%{nasm_ve
 URL: http://www.nasm.us/
 BuildRoot: /tmp/rpm-build-nasm
 Prefix: %{_prefix}
-BuildPrereq: perl
+BuildRequires: perl
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
 
 %package doc
 Summary: Extensive documentation for NASM
 Group: Development/Languages
-Prereq: /sbin/install-info
+BuildRequires: ghostscript, texinfo
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
 
 %package rdoff
 Summary: Tools for the RDOFF binary format, sometimes used with NASM.