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 <esyr@redhat.com>
This commit is contained in:
		
							parent
							
								
									3e73f633e5
								
							
						
					
					
						commit
						86fea180fd
					
				| @ -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" | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user