!14 添加loongarch64支持

From: @streamlet_hy 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2024-02-27 09:34:03 +00:00 committed by Gitee
commit 7338a17ac6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: node_exporter
Version: 1.7.0
Release: 1
Release: 2
Summary: Exporter for machine metrics
License: ASL 2.0
URL: https://github.com/prometheus/node_exporter
@ -21,7 +21,7 @@ BuildRequires: golang >= 1.18
Requires: shadow coreutils
Provides: golang-github-prometheus-node_exporter = %{version}-%{release}
ExclusiveArch: x86_64 aarch64 riscv64
ExclusiveArch: x86_64 aarch64 riscv64 loongarch64
%description
Prometheus exporter for hardware and OS metrics exposed by *NIX kernels, written in Go with pluggable metric collectors.
@ -57,6 +57,9 @@ install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/node_exporter
%config(noreplace)%{_sysconfdir}/sysconfig/node_exporter
%changelog
* Tue Feb 27 2024 Huang Yang <huangyang@loongson.cn> - 1.7.0-2
- add loongarch64 support
* Fri Dec 29 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.7.0-1
- Update package to version 1.7.0