A new user interface for you!

File ucode-intel.spec of Package ucode-intel

# spec file for package ucode-intel
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           ucode-intel
Version:        20190514
Release:        0
Summary:        Microcode Updates for Intel x86/x86-64 CPUs
License:        SUSE-Firmware
Group:          Hardware/Other
BuildRequires:  suse-module-tools
#License is: Intel Software License Agreement
Url:            https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files
Source0:        https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-%version.tar.gz
Source1:        ucode-intel-rpmlintrc
Supplements:    modalias(x86cpu:vendor%3A0000%3Afamily%3A*%3Amodel%3A*%3Afeature%3A*)
# new method ... note that only 1 : might be present, otherwise libzypp misinterprets it.
Supplements:    modalias(cpu:type%3Ax86*ven0000*)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires(post): coreutils
Requires(postun): coreutils
ExclusiveArch:  %ix86 x86_64

This package contains the microcode update blobs for Intel x86 and x86-64 CPUs.

%setup -q -n Intel-Linux-Processor-Microcode-Data-Files-microcode-%version/

#it is closed source.. nothing to build.

mkdir -p %{buildroot}/lib/firmware/intel-ucode
cp intel-ucode/* %{buildroot}/lib/firmware/intel-ucode
cd intel-ucode-with-caveats
for microcode in *;do
    cp $microcode %{buildroot}/lib/firmware/intel-ucode/$microcode.early




%license license
%doc releasenote