[packages/openssl102: 56/432] - fix _all_ perl paths - package need update to 0.9.6a (since few important bug were fixed)
adwol
adwol at pld-linux.org
Sat Sep 29 01:06:19 CEST 2018
commit 0d1c50dfe88cf6fceb5edabcf156f6f8526bf713
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue May 1 23:30:51 2001 +0000
- fix _all_ perl paths
- package need update to 0.9.6a (since few important bug were fixed)
Changed files:
openssl.spec -> 1.51
openssl.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/openssl.spec b/openssl.spec
index 5cf3a31..8ce8596 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openssl102.git/commitdiff/9fc1b1b87b259e8a327c99835865e91a391efc9e
More information about the pld-cvs-commit
mailing list