forked from pool/coccinelle
Accepting request 920539 from 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) (forwarded request 920465 from elvigia) OBS-URL: https://build.opensuse.org/request/show/920539 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coccinelle?expand=0&rev=32
This commit is contained in:
commit
958ae1ca81
@ -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
|
Sat Sep 11 12:34:56 UTC 2021 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ fixing bugs in systems code.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
%configure
|
%configure --with-python=%python_for_executables
|
||||||
%make_build -j1 VERBOSE=yes
|
%make_build -j1 VERBOSE=yes
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -7,13 +7,13 @@ Don't choose arbitrary python interpreters from $PATH.
|
|||||||
tools/pycocci | 2 +-
|
tools/pycocci | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
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.1.0.orig/tools/pycocci
|
||||||
+++ coccinelle-1.0.6/tools/pycocci
|
+++ coccinelle-1.1.0/tools/pycocci
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/usr/bin/env python
|
-#!/usr/bin/env python
|
||||||
+#!/usr/bin/python
|
+#!/usr/bin/python3
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 Luis R. Rodriguez <mcgrof@suse.com>
|
# Copyright (c) 2014 Luis R. Rodriguez <mcgrof@suse.com>
|
||||||
# Copyright (c) 2013 Johannes Berg <johannes@sipsolutions.net>
|
# Copyright (c) 2013 Johannes Berg <johannes@sipsolutions.net>
|
||||||
|
Loading…
Reference in New Issue
Block a user