diff --git a/powerapi-1.0.1.tar.gz b/powerapi-1.0.1.tar.gz deleted file mode 100644 index 6d05095b248ab436829923156b6402a842278a08..0000000000000000000000000000000000000000 Binary files a/powerapi-1.0.1.tar.gz and /dev/null differ diff --git a/powerapi-1.1.0.tar.gz b/powerapi-1.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ef5fdec37847a488648890199f4a31ba4a3744c5 Binary files /dev/null and b/powerapi-1.1.0.tar.gz differ diff --git a/powerapi.spec b/powerapi.spec index 019e322795de3034bf5f2fcc2600e21f1e53fb05..725c07e1240ea81bb191b45aebabe77a7a2a3f81 100644 --- a/powerapi.spec +++ b/powerapi.spec @@ -1,6 +1,6 @@ Name: powerapi -Version: 1.0.1 -Release: 4 +Version: 1.1.0 +Release: 10 Summary: The ability to support openEuler power consumption control. License: MulanPSL-2.0 @@ -8,7 +8,7 @@ URL: https://gitee.com/openeuler/powerapi/ Source0: %{name}-%{version}.tar.gz BuildRequires: gcc,cmake,zip,unzip -Requires: tar,ipmitool +Requires: tar,ipmitool,psmisc,systemd,perf %description Including a power API SO and the Power API Service. @@ -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 +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 @@ -65,9 +59,47 @@ systemctl stop pwrapis %{_sysconfdir}/sysconfig/pwrapis/* %dir %{_includedir}/pwrapic %{_includedir}/pwrapic/* -%{_sysconfdir}/systemd/system/pwrapis.service %changelog +* Mon Nov 18 2024 jinye - 1.1.0-10 +-Bug fix: Stop eagle cause process block. +-Add some gtest code. + +* 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 + +* Thu Jun 18 2024 heppen - 1.1.0-7 +- Bug fix: expand msg buffer, wrong code of check if buffer full. + +* Wed Jun 12 2024 Zihao Xue - 1.1.0-6 +- Bug fix: heap buffer overflow caused by sending incomplete strings. +- Bug fix: too long strings into QueryProcs causes services broke down. + +* Thu Jun 6 2024 heppen - 1.1.0-5 +- Bug fix: SIGPIPE cause powerapi server exit. +- Bug fix: pstree command is too slow to get all pid. +- Bug fix: set smart grid state failed. +- Bug fix: get watt attr and task list is not correct. + +* Mon Jun 3 2024 heppen - 1.1.0-4 +- Bug fix: memcpy null pointer, array out of bounds, struct align. +- Bug fix: get watt state will failed at the first time. +- Bug fix: use process name to query pid but return all pids. +- Bug fix: mismatch fopen/pclose and popen/fclose, useless if statement. + +* Wed May 29 2024 heppen - 1.1.0-3 +- Bug fix: fix build warning. +- Bug fix: export PWR_SYS_GetRtPowerInfo. +- Bug fix: data collection task intercept invalid task type. + +* Sat May 25 2024 heppen - 1.1.0-2 +- Bug fix: Incorrect passing of memory address for process list. + +* Fri May 17 2024 heppen - 1.1.0-1 +- Add some new APIs about proc/hbm/cpu. * Wed Apr 3 2024 heppen - 1.0.1-4 - Add the dependency on ipmitool.