]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
nghttp2: Replace Python 2 by Python 3
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Jun 2023 15:51:09 +0000 (15:51 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Jun 2023 15:51:09 +0000 (15:51 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
nghttp2/nghttp2.nm

index 261012ef38afe51cd4d63e7528869c028f8ad459..665c1c15b0605b8dc7af8114a156bc9a6651f354 100644 (file)
@@ -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