From 86fea180fd74a80728430acbb3b2519face8c7af Mon Sep 17 00:00:00 2001 From: Eugene Syromiatnikov Date: Mon, 26 Jul 2021 18:59:55 +0200 Subject: [PATCH] microcode_ctl.spec: eliminate platform-python nonsense Apparently, it was short-lived. The python interpreter binary name is still has to be provided explicitly, though; as well as the build dependency, since the buildroot no longer contains a python interpreter. Resolves: #1880064 Signed-off-by: Eugene Syromiatnikov --- microcode_ctl.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/microcode_ctl.spec b/microcode_ctl.spec index 8818c45..09f783b 100644 --- a/microcode_ctl.spec +++ b/microcode_ctl.spec @@ -126,6 +126,8 @@ ExclusiveArch: %{ix86} x86_64 BuildRequires: systemd-units # hexdump is used in gen_provides.sh BuildRequires: coreutils util-linux +# gen_updates2.py requires python interpreter +BuildRequires: /usr/bin/python3 Requires: coreutils Requires(post): systemd coreutils Requires(preun): systemd coreutils @@ -310,7 +312,7 @@ install -m 644 "%{SOURCE182}" "%{tgl_inst_dir}/disclaimer" # SUMMARY.intel-ucode generation # It is to be done only after file population, so, it is here, # at the end of the install stage -/usr/libexec/platform-python "%{SOURCE1002}" -C "%{SOURCE1001}" \ +/usr/bin/python3 "%{SOURCE1002}" -C "%{SOURCE1001}" \ summary -A "%{buildroot}" \ > "%{buildroot}/%{_pkgdocdir}/SUMMARY.intel-ucode"