2018-07-17 10:08:10 +02:00
|
|
|
|
From 293f2e5274ff62edcc1d49ba5439af3d986dfe3b Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: Michal Rostecki <mrostecki@suse.com>
|
|
|
|
|
Date: Tue, 12 Jun 2018 16:41:36 +0200
|
2019-05-28 11:11:09 +02:00
|
|
|
|
Subject: [PATCH] Use python3 instead of env as an interpreter
|
2018-07-17 10:08:10 +02:00
|
|
|
|
MIME-Version: 1.0
|
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
|
|
For the rpm runtime dependency detection to work, the shebang
|
2019-05-28 11:11:09 +02:00
|
|
|
|
`#!/usr/bin/env python3` needs to be patched into
|
|
|
|
|
´#!/usr/bin/python3`, otherwise the package dependency generator
|
2018-07-17 10:08:10 +02:00
|
|
|
|
merely adds a dependency on /usr/bin/env rather than the actual
|
2019-05-28 11:11:09 +02:00
|
|
|
|
interpreter /usr/bin/python3.
|
|
|
|
|
|
|
|
|
|
[ddiss@suse.de: python2 -> python3]
|
2018-07-17 10:08:10 +02:00
|
|
|
|
---
|
|
|
|
|
event_rpcgen.py | 2 +-
|
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
2019-05-28 11:11:09 +02:00
|
|
|
|
Index: libevent-2.1.10-stable/event_rpcgen.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- libevent-2.1.10-stable.orig/event_rpcgen.py
|
|
|
|
|
+++ libevent-2.1.10-stable/event_rpcgen.py
|
2018-07-17 10:08:10 +02:00
|
|
|
|
@@ -1,4 +1,4 @@
|
2019-05-28 11:11:09 +02:00
|
|
|
|
-#!/usr/bin/env python
|
|
|
|
|
+#!/usr/bin/python3
|
2018-07-17 10:08:10 +02:00
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2005-2007 Niels Provos <provos@citi.umich.edu>
|
|
|
|
|
# Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
|