32c127
diff -up pmdk-1.11.1/src/Makefile.orig pmdk-1.11.1/src/Makefile
32c127
--- pmdk-1.11.1/src/Makefile.orig	2022-01-13 18:51:59.452875151 -0500
32c127
+++ pmdk-1.11.1/src/Makefile	2022-01-13 18:54:25.780482444 -0500
32c127
@@ -188,7 +188,7 @@ install: all pkg-config
45beb7
 	install -d $(PMREORDER_DESTDIR)
45beb7
 	install -p -m 0644 $(PMREORDER_FILES) $(PMREORDER_DESTDIR)
45beb7
 	@echo "#!/bin/sh" > $(PMREORDER_SRC)/pmreorder
45beb7
-	@echo "exec python3 $(PMREORDER_ROOTDIR)/pmreorder.py $(SRCVERSION) \$$*" >> $(PMREORDER_SRC)/pmreorder
45beb7
+	@echo "exec /usr/libexec/platform-python $(PMREORDER_ROOTDIR)/pmreorder.py $(SRCVERSION) \$$*" >> $(PMREORDER_SRC)/pmreorder
45beb7
 	install -d $(PMREORDER_BIN)
45beb7
 	install -p $(PMREORDER_SRC)/pmreorder $(PMREORDER_BIN)
45beb7
 	$(RM) $(PKG_CONFIG_FILES)
32c127
diff -up pmdk-1.11.1/src/test/RUNTESTS.py.orig pmdk-1.11.1/src/test/RUNTESTS.py
32c127
--- pmdk-1.11.1/src/test/RUNTESTS.py.orig	2022-01-13 18:52:09.080401838 -0500
32c127
+++ pmdk-1.11.1/src/test/RUNTESTS.py	2022-01-13 18:54:46.129368430 -0500
45beb7
@@ -1,4 +1,4 @@
45beb7
-#!/usr/bin/env python3
45beb7
+#!/usr/libexec/platform-python
45beb7
 # SPDX-License-Identifier: BSD-3-Clause
a2b195
 # Copyright 2019-2022, Intel Corporation
45beb7