From 6c4f557afa2276f9ea11bdf5217e5d34b209d14f Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: May 02 2020 22:41:00 +0000 Subject: Makfile: Use PY_VERSION=3 The makefile was using 3.6 which is leftover from Fedora 29. Using python3 works with any python 3 version. Signed-off-by: Nir Soffer --- diff --git a/sanlock.spec.in b/sanlock.spec.in index 087076c..9ae4d8f 100644 --- a/sanlock.spec.in +++ b/sanlock.spec.in @@ -46,7 +46,7 @@ The sanlock daemon manages leases for applications on hosts using shared storage # upstream does not support _smp_mflags CFLAGS=$RPM_OPT_FLAGS make -C wdmd CFLAGS=$RPM_OPT_FLAGS make -C src -CFLAGS=$RPM_OPT_FLAGS make -C python PY_VERSION=3.6 +CFLAGS=$RPM_OPT_FLAGS make -C python PY_VERSION=3 CFLAGS=$RPM_OPT_FLAGS make -C reset %install @@ -60,7 +60,7 @@ make -C wdmd \ make -C python \ install LIBDIR=%{_libdir} \ DESTDIR=$RPM_BUILD_ROOT \ - PY_VERSION=3.6 + PY_VERSION=3 make -C reset \ install LIBDIR=%{_libdir} \ DESTDIR=$RPM_BUILD_ROOT