help fedora deal with python versions
This commit is contained in:
parent
7388770781
commit
116877462f
@ -104,7 +104,14 @@ Libreswan is based on Openswan-2.6.38 which in turn is based on FreeS/WAN-2.04
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libreswan-%{version}%{?prever}
|
%setup -q -n libreswan-%{version}%{?prever}
|
||||||
|
# Fedora should really figure this versioning out itself, not burden upstream
|
||||||
sed -i "s:/usr/bin/python:/usr/bin/python3:" programs/verify/verify.in
|
sed -i "s:/usr/bin/python:/usr/bin/python3:" programs/verify/verify.in
|
||||||
|
sed -i "s:/usr/bin/python:/usr/bin/python3:" programs/show/show.in
|
||||||
|
sed -i "s:/usr/bin/python:/usr/bin/python3:" testing/cert_verify/usage_test
|
||||||
|
sed -i "s:/usr/bin/python:/usr/bin/python3:" testing/pluto/ikev1-01-fuzzer/cve-2015-3204.py
|
||||||
|
sed -i "s:/usr/bin/python:/usr/bin/python3:" testing/pluto/ikev2-15-fuzzer/send_bad_packets.py
|
||||||
|
sed -i "s:/usr/bin/python:/usr/bin/python3:" testing/x509/dist_certs.py
|
||||||
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
Loading…
Reference in New Issue
Block a user