package created using the webbuild interface [release 20220510-1mamba;Sun Jun 05 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 23:56:13 +01:00
parent 759760ad8e
commit 2e5534717e
2 changed files with 43 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# intel-ucode
Intel Processor Microcode Package for Linux.

41
intel-ucode.spec Normal file
View File

@ -0,0 +1,41 @@
Name: intel-ucode
Version: 20220510
Release: 1mamba
Summary: Intel Processor Microcode Package for Linux
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files
Source: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/refs/tags/microcode-%{version}.tar.gz
License: Distributable
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: iucode-tool
%description
Intel Processor Microcode Package for Linux.
%prep
%setup -q -n Intel-Linux-Processor-Microcode-Data-Files-microcode-%{version}
%build
rm -f intel-ucode{,-with-caveats}/list
mkdir -p kernel/x86/microcode
%{_sbindir}/iucode_tool --write-earlyfw=intel-ucode.img intel-ucode{,-with-caveats}/
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0644 intel-ucode.img %{buildroot}/boot/intel-ucode.img
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
/boot/intel-ucode.img
%doc license
%changelog
* Sun Jun 05 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 20220510-1mamba
- package created using the webbuild interface