d0fb94
diff -up pmdk-1.6/src/Makefile.orig pmdk-1.6/src/Makefile
d0fb94
--- pmdk-1.6/src/Makefile.orig	2019-05-28 16:11:31.757452522 -0400
d0fb94
+++ pmdk-1.6/src/Makefile	2019-05-28 16:12:14.011574229 -0400
d0fb94
@@ -204,7 +204,7 @@ install: all pkg-config
d0fb94
 	install -d $(PMREORDER_DESTDIR)
d0fb94
 	install -p -m 0644 $(PMREORDER_FILES) $(PMREORDER_DESTDIR)
d0fb94
 	@echo "#!/bin/sh" > $(PMREORDER_SRC)/pmreorder
d0fb94
-	@echo "exec python3 $(PMREORDER_ROOTDIR)/pmreorder.py \$$*" >> $(PMREORDER_SRC)/pmreorder
d0fb94
+	@echo "exec /usr/libexec/platform-python $(PMREORDER_ROOTDIR)/pmreorder.py \$$*" >> $(PMREORDER_SRC)/pmreorder
d0fb94
 	install -d $(PMREORDER_BIN)
d0fb94
 	install -p $(PMREORDER_SRC)/pmreorder $(PMREORDER_BIN)
d0fb94
 	$(RM) $(PKG_CONFIG_FILES)
d0fb94
diff -up pmdk-1.6/src/test/RUNTESTS.py.orig pmdk-1.6/src/test/RUNTESTS.py
d0fb94
--- pmdk-1.6/src/test/RUNTESTS.py.orig	2019-05-28 16:12:39.334647173 -0400
d0fb94
+++ pmdk-1.6/src/test/RUNTESTS.py	2019-05-28 16:12:39.335647176 -0400
d0fb94
@@ -1,4 +1,4 @@
d0fb94
-#!/usr/bin/env python3
d0fb94
+#!/usr/libexec/platform-python
d0fb94
 #
d0fb94
 # Copyright 2019, Intel Corporation
d0fb94
 #
d0fb94
diff -up pmdk-1.6/src/test/env.py.orig pmdk-1.6/src/test/env.py
d0fb94
--- pmdk-1.6/src/test/env.py.orig	2019-05-28 16:13:22.026770140 -0400
d0fb94
+++ pmdk-1.6/src/test/env.py	2019-05-28 16:13:22.027770143 -0400
d0fb94
@@ -1,4 +1,4 @@
d0fb94
-#!/usr/bin/env python3
d0fb94
+#!/usr/libexec/platform-python
d0fb94
 #
d0fb94
 # Copyright 2019, Intel Corporation
d0fb94
 #
d0fb94
diff -up pmdk-1.6/src/tools/pmreorder/pmreorder.py.orig pmdk-1.6/src/tools/pmreorder/pmreorder.py
d0fb94
--- pmdk-1.6/src/tools/pmreorder/pmreorder.py.orig	2019-05-28 16:11:31.757452522 -0400
d0fb94
+++ pmdk-1.6/src/tools/pmreorder/pmreorder.py	2019-05-28 16:12:14.012574231 -0400
d0fb94
@@ -1,4 +1,4 @@
d0fb94
-#!/usr/bin/python
d0fb94
+#!/usr/libexec/platform-python
d0fb94
 #
d0fb94
 # Copyright 2018, Intel Corporation
d0fb94
 #