[packages/OpenIPMI] - fix openipmigui shebang

qboosh qboosh at pld-linux.org
Fri Feb 14 18:03:30 CET 2020


commit 57c80e3ba5bca03bc01b0f9d1df264ed69d99eb8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Feb 14 18:03:59 2020 +0100

    - fix openipmigui shebang

 OpenIPMI.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/OpenIPMI.spec b/OpenIPMI.spec
index dd390f0..873e70d 100644
--- a/OpenIPMI.spec
+++ b/OpenIPMI.spec
@@ -29,6 +29,7 @@ BuildRequires:	pkgconfig
 BuildRequires:	popt-devel
 BuildRequires:	python-devel
 %{?with_gui:BuildRequires:	python-tkinter}
+BuildRequires:	sed >= 4.0
 BuildRequires:	tcl-devel
 BuildRequires:	rpm-pythonprov
 BuildRequires:	swig-perl >= 1.3.25
@@ -117,6 +118,8 @@ Graficzny interfejs użytkownika do OpenIPMI.
 %patch0 -p1
 %patch1 -p1
 
+%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' swig/python/openipmigui.py
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/OpenIPMI.git/commitdiff/57c80e3ba5bca03bc01b0f9d1df264ed69d99eb8



More information about the pld-cvs-commit mailing list