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"