summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-22 16:44:56 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-09-22 16:44:56 -0700
commit441ad9d9b2a8a2c9e7804b4b97d881fa9495c9d6 (patch)
treee9c60168cb5fb68e306fdb18861070cd133c07dd
parent7b45fbb127ccc50a0d751c54fa000e199b32e7fd (diff)
downloadnasm-441ad9d9b2a8a2c9e7804b4b97d881fa9495c9d6.tar.gz
nasm-441ad9d9b2a8a2c9e7804b4b97d881fa9495c9d6.tar.bz2
nasm-441ad9d9b2a8a2c9e7804b4b97d881fa9495c9d6.zip
nasm.spec.in: minor fixes
%setup needs -n to deal with the case when nasm_version != _version There is no standard %make macro, just use "make".
-rw-r--r--nasm.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/nasm.spec.in b/nasm.spec.in
index 11a8e07..b00bf4b 100644
--- a/nasm.spec.in
+++ b/nasm.spec.in
@@ -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"