🐞 fix(spec): powerapi-devel start/stop service without pwrapis.service.
(cherry picked from commit 93a354e71055a028d73acc8478aeb70f9761db1b)
This commit is contained in:
parent
e08b674f34
commit
7bdc751209
@ -1,6 +1,6 @@
|
||||
Name: powerapi
|
||||
Version: 1.1.0
|
||||
Release: 8
|
||||
Release: 9
|
||||
Summary: The ability to support openEuler power consumption control.
|
||||
|
||||
License: MulanPSL-2.0
|
||||
@ -16,7 +16,7 @@ Including a power API SO and the Power API Service.
|
||||
%package -n powerapi-devel
|
||||
Summary: The ability to support openEuler power consumption control.
|
||||
BuildRequires: gcc,cmake,zip,unzip
|
||||
Requires: tar,ipmitool,psmisc,systemd,perf
|
||||
Requires: tar,ipmitool,psmisc,systemd,perf,powerapi
|
||||
|
||||
%description -n powerapi-devel
|
||||
Contains the client and server components and API header files for powerapi integration development.
|
||||
@ -45,12 +45,6 @@ systemctl start pwrapis
|
||||
%preun
|
||||
systemctl stop pwrapis
|
||||
|
||||
%post -n powerapi-devel
|
||||
systemctl start pwrapis
|
||||
|
||||
%preun -n powerapi-devel
|
||||
systemctl stop pwrapis
|
||||
|
||||
%files
|
||||
%{_sbindir}/pwrapis
|
||||
%{_libdir}/libpwrapi.so
|
||||
@ -67,6 +61,9 @@ systemctl stop pwrapis
|
||||
%{_includedir}/pwrapic/*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 15 2024 heppen <hepeng68@huawei.com> - 1.1.0-9
|
||||
- Bug fix: powerapi-devel start/stop service without pwrapis.service.
|
||||
|
||||
* Thu Jun 20 2024 heppen <hepeng68@huawei.com> - 1.1.0-8
|
||||
- Bug fix: Delete the unnecessary comma in the configuration file
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user