From 93a354e71055a028d73acc8478aeb70f9761db1b Mon Sep 17 00:00:00 2001 From: heppen Date: Mon, 15 Jul 2024 19:31:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(spec):=20=20powerapi-devel?= =?UTF-8?q?=20start/stop=20service=20without=20pwrapis.service.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- powerapi.spec | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/powerapi.spec b/powerapi.spec index cd659f1..30c403a 100644 --- a/powerapi.spec +++ b/powerapi.spec @@ -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 - 1.1.0-9 +- Bug fix: powerapi-devel start/stop service without pwrapis.service. + * Thu Jun 20 2024 heppen - 1.1.0-8 - Bug fix: Delete the unnecessary comma in the configuration file -- Gitee