]> git.pld-linux.org Git - packages/openssl.git/blobdiff - openssl.spec
change soname to lib*.so.0.9.6.1 (workaround ABI break)
[packages/openssl.git] / openssl.spec
index 5cf3a31e0f70045e946aed300b817c046523b905..98298e599531eccf71ef89ef95b7c362230da978 100644 (file)
@@ -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
This page took 0.075351 seconds and 4 git commands to generate.