Skip to content
Snippets Groups Projects
Commit 3b611551 authored by importbot's avatar importbot
Browse files

import delve-1.22.1-3.el10

parent 26a6f19f
No related merge requests found
## START: Set by rpmautospec
## (rpmautospec version 0.6.3)
## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 2;
release_number = 3;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
......@@ -11,6 +11,11 @@
# Run tests in check section
%bcond_without check
%ifarch ppc64le
%global exp "-tags=exp.linuxppc64le"
%endif
# https://github.com/go-delve/delve
%global goipath github.com/go-delve/delve
Version: 1.22.1
......@@ -22,8 +27,8 @@ easy to invoke and easy to use. Chances are if you're using a debugger, things
aren't going your way. With that in mind, Delve should stay out of your way as
much as possible.}
# Currently Delve only supports x86_64 and aarch64
%global golang_arches x86_64 aarch64
# Currently Delve only supports x86_64, aarch64, and ppc64le
%global golang_arches x86_64 aarch64 ppc64le
%gometa
......@@ -103,7 +108,7 @@ cp -r pkg/proc/internal/ebpf $delvepath/pkg/proc/internal/
pushd $delvepath
echo "=== Start tests ==="
%gotest $(go list ./... | awk '!/(cmd|scripts)/ {print $1}')
%gotest %{?exp} $(go list ./... | awk '!/(cmd|scripts)/ {print $1}')
echo "=== End tests ==="
rm -rf $delvepath
popd
......@@ -117,6 +122,9 @@ popd
%changelog
## START: Generated by rpmautospec
* Fri Aug 16 2024 Alejandro Sáez <asm@redhat.com> - 1.22.1-3
- Enable ppc64le
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.22.1-2
- Bump release for June 2024 mass rebuild
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment