]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
gobject-introspection: Fix interpreters
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Sep 2016 15:19:27 +0000 (11:19 -0400)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Sep 2016 16:23:11 +0000 (12:23 -0400)
QA will not allow using env as an interpreter

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
gobject-introspection/gobject-introspection.nm

index 3591008c5b150a5f0546352fa0ef7c76f4daa9bd..a5ff3ec34408e74e53dbe374b876581bd6e60513 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = gobject-introspection
 version    = %{major_ver}.%{minor_ver}
-release    = 2
+release    = 3
 
 major_ver  = 1.48
 minor_ver  = 0
@@ -41,6 +41,13 @@ build
 
        configure_options += \
                --disable-static
+
+       install_cmds
+               # Fix interpreter
+               sed -e "s@^#!.*@#!/usr/bin/python@" \
+                       -i %{BUILDROOT}%{bindir}/g-ir-scanner \
+                       -i %{BUILDROOT}%{bindir}/g-ir-annotation-tool
+       end
 end
 
 packages