nasm.spec.in: minor fixes
authorH. Peter Anvin <hpa@zytor.com>
Sat, 22 Sep 2007 23:44:56 +0000 (16:44 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 22 Sep 2007 23:44:56 +0000 (16:44 -0700)
%setup needs -n to deal with the case when nasm_version != _version
There is no standard %make macro, just use "make".

nasm.spec.in

index 11a8e07..b00bf4b 100644 (file)
@@ -35,11 +35,11 @@ is sometimes used with the Netwide Assembler (NASM).  These tools
 include linker, library manager, loader, and information dump.
 
 %prep
-%setup
+%setup -n nasm-%{nasm_version}
 
 %build
 %configure
-%make %{?_smp_mflags} everything
+make %{?_smp_mflags} everything
 
 %install
 rm -rf "$RPM_BUILD_ROOT"