Procházet zdrojové kódy

depend on gcc and do not use deprecated -m486 option

Ralf S. Engelschall před 24 roky
rodič
revize
ace1b23338
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 3 2
      openssl/openssl.spec

+ 3 - 2
openssl/openssl.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [REL]
 Group:        Cryptography
 License:      BSD-style
 Version:      0.9.6c
-Release:      20020206
+Release:      20020319
 
 #   list of sources
 Source0:      ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
@@ -41,7 +41,7 @@ Source0:      ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, perl, make
+BuildPreReq:  OpenPKG, openpkg >= 20020206, perl, make, gcc
 PreReq:       OpenPKG, openpkg >= 20020206
 AutoReq:      no
 AutoReqProv:  no
@@ -61,6 +61,7 @@ AutoReqProv:  no
 %build
     PATH="%{l_prefix}/bin:$PATH"; export PATH
     %{l_prefix}/bin/perl util/perlpath.pl %{l_prefix}/bin/perl
+    %{l_shtool} subst -e "s;-m486;;" Configure
     ./config \
         --prefix=%{l_prefix} \
         --openssldir=%{l_prefix}/etc/openssl \