Accepting request 1126632 from home:iznogood:factory
- Rename libcpupower0 to libcpupower1 following changes in SONAME. - Use ldconfig_scriptlets macro for post(un) handling. OBS-URL: https://build.opensuse.org/request/show/1126632 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=129
This commit is contained in:
parent
44a9fb11e1
commit
45b66d1cb4
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 12:57:54 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Rename libcpupower0 to libcpupower1 following changes in SONAME.
|
||||
- Use ldconfig_scriptlets macro for post(un) handling.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 5 18:19:36 UTC 2023 - Thomas Renninger <trenn@suse.de>
|
||||
|
||||
|
@ -42,11 +42,11 @@ BuildRequires: pciutils-devel
|
||||
This tool accesses the Linux kernel's processor power subsystems
|
||||
like CPU frequency switching (cpufreq) or CPU sleep states (cpuidle).
|
||||
|
||||
%package -n libcpupower0
|
||||
%package -n libcpupower1
|
||||
Summary: Processor power related C-library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libcpupower0
|
||||
%description -n libcpupower1
|
||||
Contains libcpupower which offers easy functions to access
|
||||
processor frequency, processor idle, processor power hierarchy
|
||||
and other CPU power consumption related information.
|
||||
@ -54,7 +54,7 @@ and other CPU power consumption related information.
|
||||
%package devel
|
||||
Summary: Include files for libcpupower
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libcpupower0 = %{version}
|
||||
Requires: libcpupower1 = %{version}
|
||||
|
||||
%description devel
|
||||
Include files for C/C++ development with libcpupower.
|
||||
@ -130,8 +130,7 @@ mv %{buildroot}//%{_docdir}/%{name}/cpufreq-bench_script.sh %{buildroot}/%{_docd
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%post -n libcpupower0 -p /sbin/ldconfig
|
||||
%postun -n libcpupower0 -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n libcpupower1
|
||||
|
||||
%files
|
||||
%{_mandir}/man1/cpupower*%{?ext_man}
|
||||
@ -153,7 +152,7 @@ mv %{buildroot}//%{_docdir}/%{name}/cpufreq-bench_script.sh %{buildroot}/%{_docd
|
||||
%{_docdir}/%{name}/examples/cpufreq-bench_script.sh
|
||||
%{_docdir}/%{name}/README-BENCH
|
||||
|
||||
%files -n libcpupower0
|
||||
%files -n libcpupower1
|
||||
%{_libdir}/libcpupower*.so.*
|
||||
|
||||
%files devel
|
||||
|
Loading…
Reference in New Issue
Block a user