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