]> git.pld-linux.org Git - packages/john.git/commitdiff
RA-branch
authorankry <ankry@pld-linux.org>
Mon, 19 Apr 2004 06:28:51 +0000 (06:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    john.spec -> 1.29.2.1

john.spec

index 316c93e92355d2a7721b807bd918588646fc7d7d..7165061ccebd02114faf3062aa5ed7005551aeb8 100644 (file)
--- a/john.spec
+++ b/john.spec
@@ -5,7 +5,10 @@
 # Maybe some patch...? But not yet.
 #
 %ifarch athlon
-%define with_mmx 1
+%define                with_mmx        1
+%endif
+%ifnarch %{x86}
+%undefine      with_mmx
 %endif
 Summary:       Password cracker
 Summary(pl):   £amacz hase³
@@ -51,22 +54,19 @@ COPT="%{rpmcflags}"
 # bleh... MMX code must be chosen at compile time :(
 # cannot use MMX for generic i586 nor i686 (Pentium/Pentium Pro have no MMX)
 # K6 optimization exists only in Makefile
+
+TARG=generic
+%if %{with mmx}
+       TARG=linux-x86-mmx-elf
+%endif
 %ifarch %{ix86}
-       %if %{with mmx}
-               TARG=linux-x86-mmx-elf
-       %else
-               TARG=linux-x86-any-elf
-       %endif
-%else
-       %ifarch alpha
-               TARG=linux-alpha
-       %else
-               %ifarch sparc sparc64
-                       TARG=linux-sparc
-               %else
-                       TARG=generic
-               %endif
-       %endif
+       TARG=linux-x86-any-elf
+%endif
+%ifarch alpha
+       TARG=linux-alpha
+%endif
+%ifarch sparc sparc64
+       TARG=linux-sparc
 %endif
 
 %{__make} $TARG \
This page took 0.087901 seconds and 4 git commands to generate.