forked from pool/cpuid
ship cpuinfo2cpuid
OBS-URL: https://build.opensuse.org/package/show/utilities/cpuid?expand=0&rev=11
This commit is contained in:
parent
7cbf024f03
commit
897bf69207
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user