diff --git a/libreswan.spec b/libreswan.spec index fe79170..af3f4bf 100644 --- a/libreswan.spec +++ b/libreswan.spec @@ -104,7 +104,14 @@ Libreswan is based on Openswan-2.6.38 which in turn is based on FreeS/WAN-2.04 %prep %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/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 %patch2 -p1 %patch3 -p1