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"
|
make CFLAGS="$CFLAGS"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -Dm 0755 cpuid "%buildroot/%_bindir/cpuid"
|
mkdir -p "%buildroot/%_bindir" "%buildroot/%_mandir/man1"
|
||||||
install -Dm 0644 cpuid.man "%buildroot/%_mandir/man1/cpuid.1"
|
install -pm0755 cpuid cpuinfo2cpuid "%buildroot/%_bindir/"
|
||||||
|
install -pm0644 cpuid.man "%buildroot/%_mandir/man1/cpuid.1"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ChangeLog FUTURE LICENSE
|
%doc ChangeLog FUTURE LICENSE
|
||||||
%_bindir/cpuid
|
%_bindir/cpu*
|
||||||
%_mandir/man1/cpuid.1*
|
%_mandir/man1/cpuid.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user