diff --git a/openssl.spec b/openssl.spec index ea46caf..adb85a1 100644 --- a/openssl.spec +++ b/openssl.spec @@ -5,7 +5,7 @@ Summary: Secure Sockets Layer Toolkit Name: openssl Version: 0.9.6 -Release: 16 +Release: 16.0p Source: openssl-%{version}-usa.tar.bz2 Source1: hobble-openssl Source2: Makefile.certificate @@ -40,6 +40,13 @@ URL: http://www.openssl.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildPreReq: perl, python-devel, unzip +# the gcc-2.96 compiler on ppc has some optimization problems. +# gcc296ppc is true in this case. +%define gcc296ppc 0 +%ifarch ppc ppc64 +%define gcc296ppc %(gcc -v 2>&1 1>/dev/null|grep -qF 2.96 && echo 1 || echo 0) +%endif + %description The OpenSSL certificate management tool and the shared libraries that provide various cryptographic algorithms and protocols. @@ -156,6 +163,9 @@ sslflags=no-asm %ifarch s390 sslarch=linux-s390 %endif +%if %{gcc296ppc} +RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O1" +%endif # Configure the build tree. Override OpenSSL defaults with known-good defaults # usable on all platforms. The Configure script already knows to use -fPIC and # RPM_OPT_FLAGS, so we can skip specifiying them here. @@ -296,6 +306,9 @@ popd %postun -p /sbin/ldconfig %changelog +* Thu Jun 19 2003 Guy Streeter 0.9.6-16.0p +- build at -O1 for broken 7.1 ppc compiler + * Wed Mar 19 2003 Nalin Dahyabhai 0.9.6-16 - add backported patch to harden against Klima-Pokorny-Rosa extension of Bleichenbacher's attack (CAN-2003-0131) @@ -462,13 +475,13 @@ popd - run ldconfig directly in post/postun - add FAQ -* Sat Dec 18 1999 Bernhard Rosenkr)B�nzer +* Sat Dec 18 1999 Bernhard Rosenkrdnzer - Fix build on non-x86 platforms -* Fri Nov 12 1999 Bernhard Rosenkr)B�nzer +* Fri Nov 12 1999 Bernhard Rosenkrdnzer - move /usr/share/ssl/* from -devel to main package -* Tue Oct 26 1999 Bernhard Rosenkr)B�nzer +* Tue Oct 26 1999 Bernhard Rosenkrdnzer - inital packaging - changes from base: - Move /usr/local/ssl to /usr/share/ssl for FHS compliance