add loongarch64 support

This commit is contained in:
Huang Yang 2024-02-27 15:11:00 +08:00
parent c9170b55b3
commit 1b0eec7faf

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