SHA256
1
0
forked from pool/cpupower

Accepting request 1069474 from home:trenn:branches:hardware

- Add wildcard for powercap.h since powercap patches have reached mainline
- Build bash-completion noarch

OBS-URL: https://build.opensuse.org/request/show/1069474
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=127
This commit is contained in:
Thomas Renninger 2023-03-05 18:54:30 +00:00 committed by Git OBS Bridge
parent b32e004802
commit 44a9fb11e1
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Mar 5 18:19:36 UTC 2023 - Thomas Renninger <trenn@suse.de>
- Add wildcard for powercap.h since powercap patches have reached mainline
- Build bash-completion noarch
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 21 13:59:41 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org> Fri Oct 21 13:59:41 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package cpupower # spec file for package cpupower
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,7 +24,6 @@
%define version %(rpm -q --qf '%%{VERSION}' kernel-source) %define version %(rpm -q --qf '%%{VERSION}' kernel-source)
Name: cpupower Name: cpupower
Version: %{version} Version: %{version}
#Version: 5.19
Release: 0 Release: 0
Summary: Tools to determine and set CPU Power related Settings Summary: Tools to determine and set CPU Power related Settings
License: GPL-2.0-only License: GPL-2.0-only
@ -77,6 +76,7 @@ Group: System/Shells
Requires: %{name} Requires: %{name}
Requires: bash-completion Requires: bash-completion
Supplements: (%{name} and bash-completion) Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description bash-completion %description bash-completion
bash command line completion support for cpupower. bash command line completion support for cpupower.
@ -157,9 +157,7 @@ mv %{buildroot}//%{_docdir}/%{name}/cpufreq-bench_script.sh %{buildroot}/%{_docd
%{_libdir}/libcpupower*.so.* %{_libdir}/libcpupower*.so.*
%files devel %files devel
%{_includedir}/cpufreq.h %{_includedir}/*.h
%{_includedir}/cpuidle.h
#%%{_includedir}/powercap.h
%{_libdir}/libcpu*.so %{_libdir}/libcpu*.so
%files bash-completion %files bash-completion