[packages/heartbeat] fix shebangs
atler
atler at pld-linux.org
Mon Oct 5 12:52:03 CEST 2020
commit b29eacfd1273051107a5dd621fce5da345b18b3c
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Oct 5 12:51:39 2020 +0200
fix shebangs
heartbeat.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
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} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/heartbeat.git/commitdiff/b29eacfd1273051107a5dd621fce5da345b18b3c
More information about the pld-cvs-commit
mailing list