- fix _all_ perl paths
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 1 May 2001 23:30:51 +0000 (23:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- package need update to 0.9.6a (since few important bug were fixed)

Changed files:
    openssl.spec -> 1.51

openssl.spec

index 5cf3a31e0f70045e946aed300b817c046523b905..8ce85963a379c30f03dd882041db999b604cd4a7 100644 (file)
@@ -10,11 +10,11 @@ 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
 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 +105,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.040521 seconds and 4 git commands to generate.