[PATCH] tevent: remove shebang from tevent.py
Lukas Slebodnik
lslebodn at redhat.com
Mon Dec 5 13:33:58 UTC 2016
ehlo,
The tevent.py is not a executable python script.
And rpmlint consider it as an error if module file
contians shebang
python2-tevent.x86_64: E: non-executable-script
/usr/lib64/python2.7/site-packages/tevent.py 644 /usr/bin/python
python3-tevent.x86_64: E: non-executable-script
/usr/lib64/python3.5/site-packages/tevent.py 644 /usr/bin/python
I could not find anything similar in talloc, tdb or ldb
I didn't run rpmlint for samba but IIRC Andreas fixed that in past.
LS
-------------- next part --------------
From d2f78ef380c570bca3f880c9e4eac6daf5330b75 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn at redhat.com>
Date: Mon, 5 Dec 2016 14:23:40 +0100
Subject: [PATCH] tevent: remove shebang from tevent.py
The tevent.py is not a executable python script.
And rpmlint consider it as an error if module file
contians shebang
python2-tevent.x86_64: E: non-executable-script
/usr/lib64/python2.7/site-packages/tevent.py 644 /usr/bin/python
python3-tevent.x86_64: E: non-executable-script
/usr/lib64/python3.5/site-packages/tevent.py 644 /usr/bin/python
Signed-off-by: Lukas Slebodnik <lslebodn at redhat.com>
---
lib/tevent/tevent.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/tevent/tevent.py b/lib/tevent/tevent.py
index c296544eb41..70455046a9f 100644
--- a/lib/tevent/tevent.py
+++ b/lib/tevent/tevent.py
@@ -1,4 +1,3 @@
-#!/usr/bin/python
#
# Python integration for tevent
#
--
2.11.0
More information about the samba-technical
mailing list