[packages/openssl102: 156/432] - a minor speed-up (invoke perl -pi -e once for many files) - generalized the ix86 architecture cond
adwol
adwol at pld-linux.org
Sat Sep 29 01:14:42 CEST 2018
commit 51e76169cbb3ae2c90786cf88c8d44cb6389996d
Author: saq <saq at pld-linux.org>
Date: Sat Feb 28 17:20:27 2004 +0000
- 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 @@ ¦
%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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openssl102.git/commitdiff/9fc1b1b87b259e8a327c99835865e91a391efc9e
More information about the pld-cvs-commit
mailing list