From 51e76169cbb3ae2c90786cf88c8d44cb6389996d Mon Sep 17 00:00:00 2001 From: saq Date: Sat, 28 Feb 2004 17:20:27 +0000 Subject: [PATCH] - a minor speed-up (invoke perl -pi -e once for many files) - generalized the ix86 architecture condition Changed files: openssl.spec -> 1.117 --- openssl.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openssl.spec b/openssl.spec index a3680bb..48372fb 100644 --- a/openssl.spec +++ b/openssl.spec @@ -186,9 +186,8 @@ RC4, RSA %patch5 -p1 %build -for f in ` grep -r "%{_prefix}/local/bin/perl" . | cut -d":" -f1`; do -%{__perl} -pi -e 's#%{_prefix}/local/bin/perl#%{__perl}#g' $f -done +%{__perl} -pi -e 's#%{_prefix}/local/bin/perl#%{__perl}#g' \ + `grep -r "%{_prefix}/local/bin/perl" . | cut -d":" -f1` touch Makefile.* @@ -196,12 +195,13 @@ touch Makefile.* OPTFLAGS="%{rpmcflags}" export OPTFLAGS +%ifarch %{ix86} %ifarch i386 i486 ./Configure --openssldir=%{_var}/lib/%{name} linux-elf shared 386 -%endif -%ifarch i586 i686 athlon pentium3 +%else ./Configure --openssldir=%{_var}/lib/%{name} linux-elf shared %endif +%endif %ifarch amd64 ./Configure --openssldir=%{_var}/lib/%{name} linux-x86_64 shared %endif -- 2.43.0