]> git.pld-linux.org Git - packages/heartbeat.git/commitdiff
fix shebangs
authorJan Palus <atler@pld-linux.org>
Mon, 5 Oct 2020 10:51:39 +0000 (12:51 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 5 Oct 2020 10:51:39 +0000 (12:51 +0200)
heartbeat.spec

index 1b3066c556d02d6f59f6b3d8aeea20fbe3b71b0e..cf1ea778fc75b7a2bcbc54d86fc2aef1f8247147 100644 (file)
@@ -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} \
This page took 0.119473 seconds and 4 git commands to generate.