!19 add loong64 support
From: @zhangxianting Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
922cbc9606
2633
0001-add-loong64-support.patch
Normal file
2633
0001-add-loong64-support.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@
|
||||
|
||||
Name: pushgateway
|
||||
Version: 1.4.1
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: Prometheus pushgateway.
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/prometheus/%{name}
|
||||
@ -18,6 +18,7 @@ Source2: %{name}.default
|
||||
Source3: vendor.tar.gz
|
||||
Patch0: 0001-fix-promu-dependence-and-fix-not-found-web.patch
|
||||
Patch1: 0001-Log-shutdown-gracefully-428.patch
|
||||
Patch2: 0001-add-loong64-support.patch
|
||||
|
||||
BuildRequires: golang >= 1.13
|
||||
BuildRequires: promu
|
||||
@ -31,8 +32,11 @@ Since these kinds of jobs may not exist long enough to be scraped, they can inst
|
||||
The Pushgateway then exposes these metrics to Prometheus.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
%setup -n %{name}-%{version}
|
||||
%setup -T -D -a 3 -n %{name}-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
mkdir -p $(pwd)/bin
|
||||
@ -70,6 +74,9 @@ exit 0
|
||||
%dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus
|
||||
|
||||
%changelog
|
||||
* Tue Jul 02 2024 zhangxianting <zhangxianting@uniontech.com> - 1.4.1-6
|
||||
- add loong64 support
|
||||
|
||||
* Thu Feb 09 2023 xu_ping <xuping33@h-partners.com> - 1.4.1-5
|
||||
- set flags for BIND_NOW
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user