]> git.pld-linux.org Git - packages/microcode-data-intel.git/blobdiff - microcode-data-intel.spec
- up to 20111110
[packages/microcode-data-intel.git] / microcode-data-intel.spec
index 1d8eae9434991ee50a1c466e86b44c956bdff2bd..7ea62cc3ceaae1720c55683e185ce164f0a8d74b 100644 (file)
@@ -1,16 +1,19 @@
 Summary:       Microcode definitions for Intel processors
 Name:          microcode-data-intel
-Version:       20090330
+Version:       20111110
 Release:       1
 License:       INTEL SOFTWARE LICENSE AGREEMENT
 Group:         Base
 # http://downloadcenter.intel.com/, enter "microcode" to the search
-Source0:       http://downloadmirror.intel.com/14303/eng/microcode-%{version}.tgz
-# Source0-md5: 5efec742621f830bd49ae11274766208
+Source0:       http://downloadmirror.intel.com/20728/eng/microcode-%{version}.tgz
+# Source0-md5: ba288eb9490986513e59c5a035c93a65
 Provides:      microcode-data
-ExclusiveArch: i686 pentium2 pentium3 pentium4 x86_64 ia32e
+ExclusiveArch: i686 pentium2 pentium3 pentium4 %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# nothing to put there
+%define                _enable_debug_packages  0
+
 %description
 The microcode data file for Linux contains the latest microcode
 definitions for all Intel processors.
@@ -19,11 +22,15 @@ definitions for all Intel processors.
 %setup -q -c
 
 %build
+if ! grep -q 0x00000000 microcode.dat; then
+       echo >&2 microcode.dat contains giberrish
+       exit 1
+fi
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/lib/firmware
-
-install microcode*.dat $RPM_BUILD_ROOT/lib/firmware/microcode.dat
+cp -a microcode.dat $RPM_BUILD_ROOT/lib/firmware/microcode.dat
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.042166 seconds and 4 git commands to generate.