CentOS 8: Grubby should use python3
change python to python3 explicitly to fix RPM build Story: 2007065 Task: 37949 Change-Id: Ibe1e3a5c30d52cdec968f4e2220aa24e27f4d7b0 Signed-off-by: Long Li <lilong-neu@neusoft.com>
This commit is contained in:
parent
a7fd513689
commit
767daba76f
@ -23,10 +23,10 @@ index 28de109..e7bee82 100644
|
||||
%endif
|
||||
Requires: findutils
|
||||
|
||||
+BuildRequires: python-setuptools
|
||||
+Requires: python-devel
|
||||
+BuildRequires: python3-setuptools
|
||||
+Requires: python3-devel
|
||||
+
|
||||
+%define pythonroot /usr/lib64/python2.7/site-packages
|
||||
+%define pythonroot %python3_sitearch
|
||||
+
|
||||
%description
|
||||
This package provides a grubby compatibility script that manages
|
||||
|
@ -42,7 +42,7 @@ index 0000000..40094b3
|
||||
--- /dev/null
|
||||
+++ b/__init__.py
|
||||
@@ -0,0 +1,8 @@
|
||||
+#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
+#
|
||||
+# Copyright (c) 2018 Wind River Systems, Inc.
|
||||
+# SPDX-License-Identifier: Apache-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user