5f6cb1
diff -up pmdk-1.9.2/src/Makefile.orig pmdk-1.9.2/src/Makefile
5f6cb1
--- pmdk-1.9.2/src/Makefile.orig	2021-01-06 16:53:52.717410291 -0500
5f6cb1
+++ pmdk-1.9.2/src/Makefile	2021-01-06 16:53:52.718410294 -0500
5f6cb1
@@ -186,7 +186,7 @@ install: all pkg-config
5f6cb1
 	install -d $(PMREORDER_DESTDIR)
5f6cb1
 	install -p -m 0644 $(PMREORDER_FILES) $(PMREORDER_DESTDIR)
5f6cb1
 	@echo "#!/bin/sh" > $(PMREORDER_SRC)/pmreorder
5f6cb1
-	@echo "exec python3 $(PMREORDER_ROOTDIR)/pmreorder.py $(SRCVERSION) \$$*" >> $(PMREORDER_SRC)/pmreorder
5f6cb1
+	@echo "exec /usr/libexec/platform-python $(PMREORDER_ROOTDIR)/pmreorder.py $(SRCVERSION) \$$*" >> $(PMREORDER_SRC)/pmreorder
5f6cb1
 	install -d $(PMREORDER_BIN)
5f6cb1
 	install -p $(PMREORDER_SRC)/pmreorder $(PMREORDER_BIN)
5f6cb1
 	$(RM) $(PKG_CONFIG_FILES)
5f6cb1
diff -up pmdk-1.9.2/src/test/RUNTESTS.py.orig pmdk-1.9.2/src/test/RUNTESTS.py
5f6cb1
--- pmdk-1.9.2/src/test/RUNTESTS.py.orig	2021-01-06 16:54:37.937567105 -0500
5f6cb1
+++ pmdk-1.9.2/src/test/RUNTESTS.py	2021-01-06 16:54:37.938567109 -0500
5f6cb1
@@ -1,4 +1,4 @@
5f6cb1
-#!/usr/bin/env python3
5f6cb1
+#!/usr/libexec/platform-python
5f6cb1
 # SPDX-License-Identifier: BSD-3-Clause
5f6cb1
 # Copyright 2019-2020, Intel Corporation
5f6cb1