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