Correct platform definitions for Solaris targets and use parallel make.

Wed, 29 Aug 2012 19:12:46 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 29 Aug 2012 19:12:46 +0200
changeset 645
da9ede52f65a
parent 644
f341c75337f6
child 646
dff773a1bcc7

Correct platform definitions for Solaris targets and use parallel make.

john/john.spec file | annotate | diff | comparison | revisions
     1.1 --- a/john/john.spec	Wed Aug 29 19:12:02 2012 +0200
     1.2 +++ b/john/john.spec	Wed Aug 29 19:12:46 2012 +0200
     1.3 @@ -32,14 +32,14 @@
     1.4  Group:        System
     1.5  License:      GPL
     1.6  Version:      1.7.9
     1.7 -Release:      20111124
     1.8 +Release:      20120800
     1.9  
    1.10  #   list of sources
    1.11  Source0:      http://www.openwall.com/john/g/john-%{version}.tar.gz
    1.12  Patch0:       john.patch
    1.13  
    1.14  #   build information
    1.15 -BuildPreReq:  OpenPKG, openpkg >= 20100101, gcc
    1.16 +BuildPreReq:  OpenPKG, openpkg >= 20100101, make, gcc
    1.17  PreReq:       OpenPKG, openpkg >= 20100101
    1.18  
    1.19  %description
    1.20 @@ -71,10 +71,10 @@
    1.21            i?86-linux*    ) platform="linux-x86-any"       ;;
    1.22            amd64-linux*   ) platform="linux-x86-64"        ;;
    1.23            sun4u-sunos*   ) platform="solaris-sparc64-gcc" ;;
    1.24 -          i?86-sunos*    ) platform="solaris-x86-any"     ;;
    1.25 -          amd64-sunos*   ) platform="solaris-x86-any"     ;;
    1.26 +          i?86-sunos*    ) platform="solaris-x86-any-gcc" ;;
    1.27 +          amd64-sunos*   ) platform="solaris-x86-any-gcc" ;;
    1.28        esac
    1.29 -      %{l_make} %{l_mflags} $platform CC="%{l_cc}"
    1.30 +      %{l_make} %{l_mflags -O} $platform CC="%{l_cc}"
    1.31      ) || exit $?
    1.32      cat doc/README doc/OPTIONS doc/MODES >john.1
    1.33  

mercurial