Add the dependency on tar

(cherry picked from commit ef6e8962c3e54f14f826bba43371ca3876ffd0ee)
This commit is contained in:
queyanwen 2024-03-09 12:25:26 +08:00 committed by openeuler-sync-bot
parent 18a00c0489
commit b9d2055e8c

View File

@ -1,6 +1,6 @@
Name: powerapi
Version: 1.0.1
Release: 2
Release: 3
Summary: The ability to support openEuler power consumption control.
License: MulanPSL-2.0
@ -9,6 +9,7 @@ Source0: %{name}-%{version}.tar.gz
Patch0: powerapi-0.patch
BuildRequires: gcc,cmake,zip,unzip
Requires: tar
%description
Including a power API SO and the Power API Service.
@ -16,6 +17,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
%description -n powerapi-devel
Contains the client and server components and API header files for powerapi integration development.
@ -67,6 +69,9 @@ systemctl stop pwrapis
%{_sysconfdir}/systemd/system/pwrapis.service
%changelog
* Sat Mar 9 2024 queyanwen <queyanwen@huawei.com> - 1.0.1-3
- Add the dependency on tar that is omitted in the earlier version.
* Wed Dec 27 2023 xuchongyu <xuchongyu@huawei.com> - 1.0.1-2
- Solve the problem that the client is actively disconnected and the server is incorrect in clearing resources