Accepting request 931629 from home:AndreasStieger:branches:utilities

cpuid 20211114

OBS-URL: https://build.opensuse.org/request/show/931629
OBS-URL: https://build.opensuse.org/package/show/utilities/cpuid?expand=0&rev=32
This commit is contained in:
Jan Engelhardt 2021-11-15 22:43:17 +00:00 committed by Git OBS Bridge
parent 4652c153ff
commit 77d8b3849e
4 changed files with 20 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13c53f16408341d11ed489b352f218ec4dbb5bedb796a9d059e924770a9c56a6
size 118994

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7107dc8cc68f3fb3613244e44af7b4c91fa6cd14aec373e0c2e743545203e1b7
size 126084

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Nov 15 22:04:30 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20211114:
* Many updated and added identified CPU models and variants
* Updated hypervisor support
-------------------------------------------------------------------
Thu Oct 8 08:19:24 UTC 2020 - Josef Möllers <josef.moellers@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cpuid
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,17 +17,17 @@
Name: cpuid
Version: 20201006
Version: 20211114
Release: 0
Summary: x86 CPU identification tool
License: GPL-2.0-or-later
Group: System/Management
URL: http://etallen.com/cpuid.html
Source: http://etallen.com/cpuid/%name-%version.src.tar.gz
Source: http://etallen.com/cpuid/%{name}-%{version}.src.tar.gz
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: make
ExclusiveArch: %ix86 x86_64
ExclusiveArch: %{ix86} x86_64
%description
cpuid executes the CPUID instruction on x86-family CPUs and decodes
@ -40,18 +40,18 @@ Cyrix CPUs, and is fairly complete.
%build
# remove -Werror=format-security which is used on Mandriva, as it produces
# a false positive compiler error on several printf calls:
CFLAGS=$(echo "%optflags -Wall" | sed 's/-Werror=format-security//g')
CFLAGS=$(echo "%{optflags} -Wall" | sed 's/-Werror=format-security//g')
%make_build CFLAGS="$CFLAGS"
%install
mkdir -p "%buildroot/%_bindir" "%buildroot/%_mandir/man1"
install -pm0755 cpuid cpuinfo2cpuid "%buildroot/%_bindir/"
install -pm0644 cpuid.man "%buildroot/%_mandir/man1/cpuid.1"
mkdir -p "%{buildroot}/%{_bindir}" "%{buildroot}/%{_mandir}/man1"
install -pm0755 cpuid cpuinfo2cpuid "%{buildroot}/%{_bindir}/"
install -pm0644 cpuid.man "%{buildroot}/%{_mandir}/man1/cpuid.1"
%files
%doc ChangeLog
%license LICENSE
%_bindir/cpu*
%_mandir/man1/cpuid.1*
%{_bindir}/*
%{_mandir}/man1/*.1%{?ext_man}
%changelog