From b44584595c78850a93ad42dc8a28f2c2945c0a6b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 27 Sep 2016 11:19:27 -0400 Subject: [PATCH] gobject-introspection: Fix interpreters QA will not allow using env as an interpreter Signed-off-by: Michael Tremer --- gobject-introspection/gobject-introspection.nm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gobject-introspection/gobject-introspection.nm b/gobject-introspection/gobject-introspection.nm index 3591008c5..a5ff3ec34 100644 --- a/gobject-introspection/gobject-introspection.nm +++ b/gobject-introspection/gobject-introspection.nm @@ -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 -- 2.39.2