From 3d29ee367c3b92e2a14a61810e858f16b955ade787be8ca940dd791838f04b2d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 9 Jul 2015 07:50:37 +0000 Subject: [PATCH] feed through spec-beautifier OBS-URL: https://build.opensuse.org/package/show/utilities/cpuid?expand=0&rev=6 --- cpuid.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cpuid.spec b/cpuid.spec index bffff75..56d7d3f 100644 --- a/cpuid.spec +++ b/cpuid.spec @@ -23,14 +23,14 @@ Release: 0 Summary: x86 CPU identification tool License: GPL-2.0+ Group: System/Management -Url: http://etallen.com/cpuid.html +URL: http://etallen.com/cpuid.html Source: http://etallen.com/cpuid/%name-%version.src.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRoot: %_tmppath/%name-%version-build 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 @@ -43,18 +43,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 CFLAGS="$CFLAGS" +make CFLAGS="$CFLAGS" %install -%__install -D -m 0755 cpuid "%{buildroot}%{_bindir}/cpuid" -%__install -D -m 0644 cpuid.man "%{buildroot}%{_mandir}/man1/cpuid.1" +install -Dm 0755 cpuid "%buildroot/%_bindir/cpuid" +install -Dm 0644 cpuid.man "%buildroot/%_mandir/man1/cpuid.1" %files %defattr(-,root,root) %doc ChangeLog FUTURE LICENSE -%{_bindir}/cpuid -%{_mandir}/man1/cpuid.1* +%_bindir/cpuid +%_mandir/man1/cpuid.1* %changelog