X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=openssl.spec;h=98298e599531eccf71ef89ef95b7c362230da978;hb=a25d3c7355c0aaac9f10a2150d514689181bc38d;hp=5cf3a31e0f70045e946aed300b817c046523b905;hpb=c1cb5ffa5cf409f547b6355e6e3af1663d4a01ea;p=packages%2Fopenssl.git diff --git a/openssl.spec b/openssl.spec index 5cf3a31..98298e5 100644 --- a/openssl.spec +++ b/openssl.spec @@ -3,18 +3,21 @@ Summary: OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3) Summary(de): Secure Sockets Layer (SSL)-Kommunikationslibrary Summary(fr): Utilitaires de communication SSL (Secure Sockets Layer) Name: openssl -Version: 0.9.6 -Release: 6 +Version: 0.9.6a +Release: 1 Group: Libraries Group(de): Libraries Group(fr): Librairies Group(pl): Biblioteki Source0: ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz -Patch0: %{name}-perl.patch -Patch1: %{name}-alpha-ccc.patch +Patch0: %{name}-alpha-ccc.patch +# patch1 is only for 0.9.6a version. This version isn't binary +# compatibile with 0.9.6 but have this same soname. +Patch1: %{name}-soname.patch Vendor: The OpenSSL Project License: Apache-style License BuildRequires: perl +BuildRequires: textutils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: SSLeay Obsoletes: SSLeay-devel @@ -105,9 +108,12 @@ Statyczne wersje bibliotek z OpenSSL. %prep %setup -q %patch0 -p1 -%patch1 -p1 %build +for f in ` grep -r "/usr/local/bin/perl" . | cut -d":" -f1`; do + perl -pi -e 's#/usr/local/bin/perl#%{_bindir}/perl#g' $f +done + for i in Configure Makefile.org ; do perl -pi -e 's#-m486##g' $i perl -pi -e 's#-O3 -fomit-frame-pointer#%{optflags}#g' $i