Drop /usr/bin/env shebang patch as the brp scripts now handle this correctly

This commit is contained in:
Kalev Lember 2018-03-03 10:20:49 +01:00
parent 70777cf543
commit 61741b0f93
2 changed files with 1 additions and 24 deletions

View File

@ -1,23 +0,0 @@
From b72408d85f1e514414e08c630812736a01cc4f29 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenko@src.gnome.org>
Date: Sat, 3 Feb 2018 15:36:27 +0100
Subject: [PATCH] tools: use real @PYTHON@ instead of /usr/bin/env
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
---
tools/g-ir-tool-template.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/g-ir-tool-template.in b/tools/g-ir-tool-template.in
index edc68a4c..133088a6 100644
--- a/tools/g-ir-tool-template.in
+++ b/tools/g-ir-tool-template.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env @PYTHON@
+#!@PYTHON@
# -*- Mode: Python -*-
# GObject-Introspection - a framework for introspecting GObject libraries
# Copyright (C) 2008 Johan Dahlin
--
2.16.1

View File

@ -10,7 +10,6 @@ Summary: Introspection system for GObject-based libraries
License: GPLv2+, LGPLv2+, MIT
URL: https://wiki.gnome.org/Projects/GObjectIntrospection
Source0: https://download.gnome.org/sources/gobject-introspection/1.55/%{name}-%{version}.tar.xz
Patch0: 0001-tools-use-real-PYTHON-instead-of-usr-bin-env.patch
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: python3-devel
@ -92,6 +91,7 @@ find $RPM_BUILD_ROOT -type f -name "*.a" -print -delete
%changelog
* Sat Mar 03 2018 Kalev Lember <klember@redhat.com> - 1.55.2-1
- Update to 1.55.2
- Drop /usr/bin/env shebang patch as the brp scripts now handle this correctly
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.54.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild