forked from pool/coccinelle
Accepting request 920465 from home:elvigia:branches:devel:tools
- Fix totally broken python support, set the correct python3 interpreter, otherwise it defaults to python, which in our case is python 2.7. (changed kill-env.diff, spec) OBS-URL: https://build.opensuse.org/request/show/920465 OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=84
This commit is contained in:
parent
620df8b8ba
commit
ffd393b7fb
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 21 00:36:44 UTC 2021 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
||||
|
||||
- Fix totally broken python support, set the correct python3
|
||||
interpreter, otherwise it defaults to python, which in our case
|
||||
is python 2.7. (changed kill-env.diff, spec)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 11 12:34:56 UTC 2021 - ohering@suse.de
|
||||
|
||||
|
@ -60,7 +60,7 @@ fixing bugs in systems code.
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure
|
||||
%configure --with-python=%python_for_executables
|
||||
%make_build -j1 VERBOSE=yes
|
||||
|
||||
%install
|
||||
|
@ -7,13 +7,13 @@ Don't choose arbitrary python interpreters from $PATH.
|
||||
tools/pycocci | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: coccinelle-1.0.6/tools/pycocci
|
||||
Index: coccinelle-1.1.0/tools/pycocci
|
||||
===================================================================
|
||||
--- coccinelle-1.0.6.orig/tools/pycocci
|
||||
+++ coccinelle-1.0.6/tools/pycocci
|
||||
--- coccinelle-1.1.0.orig/tools/pycocci
|
||||
+++ coccinelle-1.1.0/tools/pycocci
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/python
|
||||
+#!/usr/bin/python3
|
||||
#
|
||||
# Copyright (c) 2014 Luis R. Rodriguez <mcgrof@suse.com>
|
||||
# Copyright (c) 2013 Johannes Berg <johannes@sipsolutions.net>
|
||||
|
Loading…
Reference in New Issue
Block a user