[packages/gnome-builder] fix python shebangs
atler
atler at pld-linux.org
Sun Apr 5 18:27:46 CEST 2020
commit f777fa5bf00987be0a39c53125ba609306ddc24a
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Apr 5 18:27:25 2020 +0200
fix python shebangs
gnome-builder.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/gnome-builder.spec b/gnome-builder.spec
index 6353153..dd3d2bc 100644
--- a/gnome-builder.spec
+++ b/gnome-builder.spec
@@ -188,6 +188,11 @@ Dokumentacja API bibliotek GNOME Buildera.
%patch0 -p1
%patch1 -p1
+grep -rl /usr/bin/env src/plugins src/libide | xargs sed -i -e '1{
+ s,^#!.*bin/env python3,#!%{__python3},
+ s,^#!.*bin/env python$,#!%{__python},
+}'
+
%build
%meson build \
%if %{with apidocs}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-builder.git/commitdiff/f777fa5bf00987be0a39c53125ba609306ddc24a
More information about the pld-cvs-commit
mailing list