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