From b973a6d1245b40b6d7d7a72f823c4f8b149794be Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 2 Jun 2023 15:51:09 +0000 Subject: [PATCH] nghttp2: Replace Python 2 by Python 3 Signed-off-by: Michael Tremer --- nghttp2/nghttp2.nm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nghttp2/nghttp2.nm b/nghttp2/nghttp2.nm index 261012ef3..665c1c15b 100644 --- a/nghttp2/nghttp2.nm +++ b/nghttp2/nghttp2.nm @@ -5,7 +5,7 @@ name = nghttp2 version = 1.51.0 -release = 1 +release = 1.1 groups = System/Libraries url = https://nghttp2.org/ @@ -20,6 +20,16 @@ end source_dl = https://github.com/nghttp2/nghttp2/releases/download/v%{version}/ build + requires + python3 + end + + prepare_cmds + # Run fetch-ocsp-response using Python 3 + sed -e "s@^#!.*@%{python3}@" \ + -i script/fetch-ocsp-response + end + configure_options += \ --enable-lib-only end -- 2.47.3