| diff -up pmdk-1.11.1/src/Makefile.orig pmdk-1.11.1/src/Makefile |
| |
| |
| @@ -188,7 +188,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 $(SRCVERSION) \$$*" >> $(PMREORDER_SRC)/pmreorder |
| + @echo "exec /usr/libexec/platform-python $(PMREORDER_ROOTDIR)/pmreorder.py $(SRCVERSION) \$$*" >> $(PMREORDER_SRC)/pmreorder |
| install -d $(PMREORDER_BIN) |
| install -p $(PMREORDER_SRC)/pmreorder $(PMREORDER_BIN) |
| $(RM) $(PKG_CONFIG_FILES) |
| diff -up pmdk-1.11.1/src/test/RUNTESTS.py.orig pmdk-1.11.1/src/test/RUNTESTS.py |
| |
| |
| @@ -1,4 +1,4 @@ |
| -#!/usr/bin/env python3 |
| +#!/usr/libexec/platform-python |
| # SPDX-License-Identifier: BSD-3-Clause |
| # Copyright 2019-2022, Intel Corporation |
| |