From 897bf6920722449d9d8aa2a07eaa19f07536209fea239639e892df6b30db319b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 30 Aug 2016 10:30:27 +0000 Subject: [PATCH] ship cpuinfo2cpuid OBS-URL: https://build.opensuse.org/package/show/utilities/cpuid?expand=0&rev=11 --- cpuid.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cpuid.spec b/cpuid.spec index 8f358d3..93f8b8b 100644 --- a/cpuid.spec +++ b/cpuid.spec @@ -48,13 +48,14 @@ CFLAGS=$(echo "%optflags -Wall"| sed 's/-Werror=format-security//g') make CFLAGS="$CFLAGS" %install -install -Dm 0755 cpuid "%buildroot/%_bindir/cpuid" -install -Dm 0644 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 %defattr(-,root,root) %doc ChangeLog FUTURE LICENSE -%_bindir/cpuid +%_bindir/cpu* %_mandir/man1/cpuid.1* %changelog