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