forked from pool/coccinelle
- Add kill-env.diff
OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=59
This commit is contained in:
parent
baf4361e1e
commit
58af012f1a
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 28 10:25:02 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Add kill-env.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 28 01:14:03 UTC 2017 - aavindraa@gmail.com
|
||||
|
||||
|
@ -26,6 +26,7 @@ Url: http://coccinelle.lip6.fr/
|
||||
|
||||
#Git-Clone: git://github.com/coccinelle/coccinelle
|
||||
Source: http://coccinelle.lip6.fr/distrib/%name-%version.tgz
|
||||
Patch1: kill-env.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -59,6 +60,7 @@ fixing bugs in systems code.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
|
19
kill-env.diff
Normal file
19
kill-env.diff
Normal file
@ -0,0 +1,19 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2017-11-28 11:24:59.025640109 +0100
|
||||
|
||||
Don't choose arbitrary python interpreters from $PATH.
|
||||
(It also misleads the rpm autodep scanner.)
|
||||
---
|
||||
tools/pycocci | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: coccinelle-1.0.6/tools/pycocci
|
||||
===================================================================
|
||||
--- coccinelle-1.0.6.orig/tools/pycocci
|
||||
+++ coccinelle-1.0.6/tools/pycocci
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/python
|
||||
#
|
||||
# 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