From 673d98d62e3f75f01225be35801228371714eda0 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 13 Jul 2018 14:24:02 +0200 Subject: [PATCH] Properly call python2 in check. --- cracklib.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cracklib.spec b/cracklib.spec index 7935ceb..c5f5e6a 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -175,7 +175,7 @@ make test DESTDIR=$RPM_BUILD_ROOT %if 0%{?rhel} == 0 # We want to check that the new library is able to open the new dictionaries, # using the new python module. -LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} %{__python} 2>&1 << EOF +LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} %{__python2} 2>&1 << EOF import string, sys # Prepend buildroot-specific variations of the python path to the python path. syspath2=[]