diff --git a/cadvisor.spec b/cadvisor.spec index 897789f585c76a5fb75035fa899c076e5e1aff56..4cef885272dfc21265f4ad43017e01e62803d32a 100644 --- a/cadvisor.spec +++ b/cadvisor.spec @@ -1,8 +1,8 @@ %define debug_package %{nil} Name: cadvisor -Version: 0.37.0 -Release: 6 +Version: 0.37.1 +Release: 1 Summary: Analyzes resource usage and performance characteristics of running containers. License: ASL 2.0 URL: https://github.com/google/cadvisor @@ -17,7 +17,7 @@ Patch2: Add-loong64-support-for-runc-procfs-and-crc32.patch Patch3: backport-Set-verbosity-after-flag-definition.patch Patch1000: 1000-add-riscv64-support-for-crc32-and-procfs.patch -BuildRequires: golang >= 1.13 +BuildRequires: golang Conflicts: cadvisor Provides: %{name} = %{version} @@ -36,7 +36,7 @@ and network statistics. This data is exported by container and machine-wide. %setup -q -T -n %{name}-%{version} -b 0 -b 1 %patch 0 -p1 %patch 1 -p1 -%patch 2 -p1 +#%patch 2 -p1 %patch 3 -p1 %ifarch loongarch64 rm -rf vendor/golang.org/x/sys @@ -49,7 +49,7 @@ tar -xf %{SOURCE2} -C cmd/vendor/golang.org/x/ %endif %build -export GOFLAGS="-mod=vendor -buildmode=pie" +export GOFLAGS="-buildmode=pie" make build %install @@ -62,6 +62,9 @@ install -D -m 755 cadvisor %{buildroot}%{_bindir}/cadvisor %changelog +* Thu Jul 10 2025 openeuler_bot - 0.37.1-1 +- update cadvisor to 0.37.1 + * Thu Sep 19 2024 jiangxinyu - 0.37.0-6 - Type:bugfix - ID:NA @@ -81,4 +84,4 @@ install -D -m 755 cadvisor %{buildroot}%{_bindir}/cadvisor - Fix build err: nothing provides go-bindata * Tue Dec 15 2020 yangzhao - 0.37.0-1 -- Init project cadvisor +- Init project cadvisor \ No newline at end of file diff --git a/sys.tar.gz b/sys.tar.gz deleted file mode 100644 index 40a278ee856ba1d96d9f392d4e024426faf5881f..0000000000000000000000000000000000000000 Binary files a/sys.tar.gz and /dev/null differ diff --git a/v0.37.1.tar.gz b/v0.37.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e350c8a61ddc75362b1380ffac68965ee689f51f Binary files /dev/null and b/v0.37.1.tar.gz differ