1 |
< |
### RPM external openssl 0.9.7b |
1 |
> |
### RPM external openssl 0.9.7d |
2 |
> |
Requires: gcc-wrapper |
3 |
|
Source: http://www.openssl.org/source/%n-%v.tar.gz |
4 |
|
|
5 |
|
%build |
6 |
+ |
## IMPORT gcc-wrapper |
7 |
|
./config --prefix=%i shared |
8 |
+ |
case $(uname)-$(uname -m) in |
9 |
+ |
Darwin*) |
10 |
+ |
perl -p -i -e 's|-compatibility_version.*|-compatibility_version \${SHLIB_MAJOR}.\${SHLIB_MINOR} \\|' Makefile.ssl |
11 |
+ |
esac |
12 |
+ |
|
13 |
|
make |
14 |
+ |
%install |
15 |
+ |
make install |
16 |
+ |
perl -p -i -e "s|^#!.*perl|#!/usr/bin/env perl|" %{i}/ssl/misc/CA.pl %{i}/ssl/misc/der_chop %{i}/bin/c_rehash |
17 |
+ |
# |