+++ /dev/null
---- cpuid-20150606/cpuid.c.orig 2015-06-07 02:03:14.000000000 +0200
-+++ cpuid-20150606/cpuid.c 2015-06-26 23:16:36.966332168 +0200
-@@ -3367,7 +3367,7 @@
- static int bits_needed(unsigned long v)
- {
- int result;
--#ifdef __x86_64
-+#if defined(__x86_64) && !defined(__ILP32__)
- asm("movq %[v],%%rax;"
- "movq $0,%%rcx;"
- "movl $0,%[result];"
Summary: x86 CPUID information display program
Summary(pl.UTF-8): Program wyświetlający informacje CPUID dla procesorów x86
Name: cpuid
-Version: 20151017
+Version: 20170122
Release: 1
License: GPL v2+
Group: Applications/System
Source0: http://www.etallen.com/cpuid/%{name}-%{version}.src.tar.gz
-# Source0-md5: 445f4674f0ca7fe10d0a24e0bd34d40d
-Patch0: %{name}-x32.patch
+# Source0-md5: 1c46a6662626c5a6eaca626f23a5a7d7
URL: http://www.etallen.com/cpuid.html
ExclusiveArch: %{ix86} %{x8664} x32
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
-%patch0 -p1
%build
%{__make} \