Accepting request 184286 from home:a_jaeger:branches:Base:System

Rename files to ucode-intel, spec file cleanup

OBS-URL: https://build.opensuse.org/request/show/184286
OBS-URL: https://build.opensuse.org/package/show/Base:System/ucode-intel?expand=0&rev=2
This commit is contained in:
Andreas Jaeger 2013-07-25 06:44:12 +00:00 committed by Git OBS Bridge
parent 63ab97be08
commit b08465335b
2 changed files with 15 additions and 13 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 25 06:33:45 UTC 2013 - aj@suse.com
- Run spec-cleaner
-------------------------------------------------------------------
Wed Jul 24 23:17:08 UTC 2013 - jeffm@suse.com

View File

@ -17,28 +17,29 @@
Name: ucode-intel
ExclusiveArch: %ix86 x86_64
Url: http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=22508&keyword=Microcode&lang=eng
Summary: Microcode Updates for Intel x86/x86_64 CPUs
License: Intel Software License Agreement
Group: Kernel/System
Version: 20130222
Release: 0
Summary: Microcode Updates for Intel x86/x86-64 CPUs
License: SUSE-Firmware
Group: Hardware/Other
#License is: Intel Software License Agreement
Url: http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=22508&keyword=Microcode&lang=eng
Source0: microcode-%{version}.tgz
Source1: intel-microcode2ucode.c
Source2: LICENSE
Source2: LICENSE
Supplements: modalias(x86cpu:vendor:0000:family:*:model:*:feature:*)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64
%description
This package contains the microcode update blobs for Intel x86 and x86-64 CPUs.
%prep
%setup -q -c intel-ucode
cp %{S:2} .
cp %{SOURCE2} .
%build
%{__cc} -fwhole-program %{optflags} %{S:1} -o generate_microcode
%{__cc} -fwhole-program %{optflags} %{SOURCE1} -o generate_microcode
./generate_microcode microcode.dat
%install
@ -51,14 +52,10 @@ done
#if this fails, the user must either reboot or reload manually.
test -f /sys/devices/system/cpu/microcode/reload && /bin/echo 1 > /sys/devices/system/cpu/microcode/reload || exit 0
%clean
rm -rf $RPM_BUILD_ROOT;
%files
%defattr(-,root,root)
%doc LICENSE
%{_bindir}/generate_microcode
%dir /lib/firmware/intel-ucode
/lib/firmware/intel-ucode/*
/lib/firmware/intel-ucode/
%changelog