# HG changeset patch # User Michael Schloh von Bennewitz # Date 1346260366 -7200 # Node ID da9ede52f65af5b0e0bf20450bc809c22c762b73 # Parent f341c75337f6c90d61ed03f6c443fbd4c98ac15b Correct platform definitions for Solaris targets and use parallel make. diff -r f341c75337f6 -r da9ede52f65a john/john.spec --- a/john/john.spec Wed Aug 29 19:12:02 2012 +0200 +++ b/john/john.spec Wed Aug 29 19:12:46 2012 +0200 @@ -32,14 +32,14 @@ Group: System License: GPL Version: 1.7.9 -Release: 20111124 +Release: 20120800 # list of sources Source0: http://www.openwall.com/john/g/john-%{version}.tar.gz Patch0: john.patch # build information -BuildPreReq: OpenPKG, openpkg >= 20100101, gcc +BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc PreReq: OpenPKG, openpkg >= 20100101 %description @@ -71,10 +71,10 @@ i?86-linux* ) platform="linux-x86-any" ;; amd64-linux* ) platform="linux-x86-64" ;; sun4u-sunos* ) platform="solaris-sparc64-gcc" ;; - i?86-sunos* ) platform="solaris-x86-any" ;; - amd64-sunos* ) platform="solaris-x86-any" ;; + i?86-sunos* ) platform="solaris-x86-any-gcc" ;; + amd64-sunos* ) platform="solaris-x86-any-gcc" ;; esac - %{l_make} %{l_mflags} $platform CC="%{l_cc}" + %{l_make} %{l_mflags -O} $platform CC="%{l_cc}" ) || exit $? cat doc/README doc/OPTIONS doc/MODES >john.1