Accepting request 223382 from hardware
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/223382 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpupower?expand=0&rev=17
This commit is contained in:
commit
1000d51c0e
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 14 13:32:00 UTC 2014 - trenn@suse.de
|
||||||
|
|
||||||
|
- turbostat is an x86 (in fact an Intel) only tool
|
||||||
|
exclude it for other archs to fix building of the package there again
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 31 15:48:18 UTC 2014 - trenn@suse.de
|
Fri Jan 31 15:48:18 UTC 2014 - trenn@suse.de
|
||||||
|
|
||||||
|
@ -87,8 +87,10 @@ CONF="PACKAGE_BUGREPORT=http://bugs.opensuse.org mandir=%_mandir libdir=%_libdir
|
|||||||
export CFLAGS="$RPM_OPT_FLAGS -I ."
|
export CFLAGS="$RPM_OPT_FLAGS -I ."
|
||||||
make $CONF %{?_smp_mflags}
|
make $CONF %{?_smp_mflags}
|
||||||
|
|
||||||
|
%ifarch ix86 x86_64
|
||||||
cd ../turbostat-%{tsversion}
|
cd ../turbostat-%{tsversion}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export SUSE_ASNEEDED=0
|
export SUSE_ASNEEDED=0
|
||||||
@ -100,8 +102,10 @@ mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples
|
|||||||
mv $RPM_BUILD_ROOT/%{_docdir}/%{name}/cpufreq-bench_script.sh $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples
|
mv $RPM_BUILD_ROOT/%{_docdir}/%{name}/cpufreq-bench_script.sh $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%ifarch ix86 x86_64
|
||||||
cd ../turbostat-%{tsversion}
|
cd ../turbostat-%{tsversion}
|
||||||
make install -e DESTDIR="$RPM_BUILD_ROOT"
|
make install -e DESTDIR="$RPM_BUILD_ROOT"
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n libcpupower0 -p /sbin/ldconfig
|
%post -n libcpupower0 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -110,9 +114,11 @@ make install -e DESTDIR="$RPM_BUILD_ROOT"
|
|||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr (-,root,root)
|
%defattr (-,root,root)
|
||||||
%{_mandir}/man1/cpupower*
|
%{_mandir}/man1/cpupower*
|
||||||
%{_mandir}/man8/turbostat*
|
|
||||||
/usr/bin/cpupower
|
/usr/bin/cpupower
|
||||||
|
%ifarch ix86 x86_64
|
||||||
|
%{_mandir}/man8/turbostat*
|
||||||
/usr/bin/turbostat
|
/usr/bin/turbostat
|
||||||
|
%endif
|
||||||
|
|
||||||
%files bench
|
%files bench
|
||||||
%defattr (-,root,root)
|
%defattr (-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user