From 97c64698008ce62c96017a4f9cf8b8587258cd70 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 17 Jul 2018 21:18:56 +0200 Subject: [PATCH] Enforce python usage in scripts --- libkate.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libkate.spec b/libkate.spec index 8c3b4ef..ad8ccbd 100644 --- a/libkate.spec +++ b/libkate.spec @@ -67,6 +67,7 @@ rm tools/kate_lexer.c %build +export PYTHON=python2 %configure --disable-static # Remove rpath @@ -77,6 +78,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %install +export PYTHON=python2 %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'