From: Jan Palus Date: Mon, 5 Oct 2020 10:51:39 +0000 (+0200) Subject: fix shebangs X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=b29eacfd1273051107a5dd621fce5da345b18b3c;p=packages%2Fheartbeat.git fix shebangs --- diff --git a/heartbeat.spec b/heartbeat.spec index 1b3066c..cf1ea77 100644 --- a/heartbeat.spec +++ b/heartbeat.spec @@ -135,6 +135,11 @@ Zestaw testów klastra opartego o heartbeat. %patch2 -p1 %patch3 -p1 +%{__sed} -i -e '1{ + s,^#!.*python$,#!%{__python}, +}' \ + heartbeat/{hb_api,ha_test}.py + %build %{__libtoolize} --ltdl %{__aclocal} @@ -142,6 +147,7 @@ Zestaw testów klastra opartego o heartbeat. %{__autoheader} %{__automake} %configure \ + PYTHON=%{__python} \ --with-initdir=/etc/rc.d/init.d \ --with-systemdunitdir=%{systemdunitdir} \ --docdir=%{_docdir}/%{name}-%{version} \