1 Summary: Microcode definitions for Intel processors
2 Name: microcode-data-intel
5 License: INTEL SOFTWARE LICENSE AGREEMENT
7 # http://downloadcenter.intel.com/, enter "microcode" to the search
8 Source0: http://downloadmirror.intel.com/14303/eng/microcode-%{version}.tgz
9 # Source0-md5: 5efec742621f830bd49ae11274766208
10 Provides: microcode-data
11 ExclusiveArch: i686 pentium2 pentium3 pentium4 x86_64 ia32e
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 # nothing to put there
15 %define _enable_debug_packages 0
18 The microcode data file for Linux contains the latest microcode
19 definitions for all Intel processors.
23 mv microcode*.dat microcode.dat
26 if ! grep -q 0x00000000 microcode.dat; then
27 echo >&2 microcode.dat contains giberrish
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT/lib/firmware
34 cp -a microcode.dat $RPM_BUILD_ROOT/lib/firmware/microcode.dat
37 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
41 %attr(640,root,root) /lib/firmware/microcode.dat