packages: microcode-data-amd/microcode-data-amd.spec (NEW)=?UTF-8?Q?=20?=- microcode patc...
pluto
pluto at pld-linux.org
Wed May 23 18:44:03 CEST 2012
Author: pluto Date: Wed May 23 16:44:03 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- microcode patchset for amd64 cpus.
---- Files affected:
packages/microcode-data-amd:
microcode-data-amd.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/microcode-data-amd/microcode-data-amd.spec
diff -u /dev/null packages/microcode-data-amd/microcode-data-amd.spec:1.1
--- /dev/null Wed May 23 18:44:03 2012
+++ packages/microcode-data-amd/microcode-data-amd.spec Wed May 23 18:43:58 2012
@@ -0,0 +1,48 @@
+# $Revision$, $Date$
+%define _dash_snap 2012-01-17
+%define _spec_snap %(echo %{_dash_snap} | sed -e 's/-//g')
+Summary: Microcode definitions for AMD64 processors
+Name: microcode-data-amd
+Version: %{_spec_snap}
+Release: 1
+License: AMD SOFTWARE LICENSE AGREEMENT
+Group: Base
+# http://www.amd64.org/index.php?id=50&file=amd-ucode-2012-01-17.tar
+Source0: amd-ucode-%{_dash_snap}.tar
+# Source0-md5: c0eabb7e25e1f9045b7dd5ceabfddd09
+URL: http://www.amd64.org/support/microcode.html
+Provides: microcode-data
+ExclusiveArch: %{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 AMD64 processor families 10h, 11h, 12h, 14h, and 15h.
+
+%prep
+%setup -q -n amd-ucode-%{_dash_snap}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/lib/firmware
+install microcode_amd.bin $RPM_BUILD_ROOT/lib/firmware
+install microcode_amd_fam15h.bin $RPM_BUILD_ROOT/lib/firmware
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(640,root,root) /lib/firmware/microcode*.bin
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2012/05/23 16:43:58 pluto
+- microcode patchset for amd64 cpus.
================================================================
More information about the pld-cvs-commit
mailing list