Compare commits
21 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea19b0619c | ||
|
|
879815f21e | ||
|
|
35ddcc4ce8 | ||
|
|
60aaee6390 | ||
|
|
324bb19e13 | ||
|
|
6b1119e20c | ||
|
|
632559dd0b | ||
|
|
424ce48f52 | ||
|
|
7f7f2c39ef | ||
|
|
6e3485730d | ||
|
|
eade53f5c8 | ||
|
|
8da1af0f1f | ||
|
|
a645831223 | ||
|
|
ff525c696c | ||
|
|
7251fceb8f | ||
|
|
a4f47c0f59 | ||
|
|
0b28f0edca | ||
|
|
a1251406aa | ||
|
|
ed764a4252 | ||
|
|
9ce6e76491 | ||
|
|
4a8bf75f66 |
5 changed files with 32 additions and 13 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -5,3 +5,11 @@
|
|||
/delve-1.22.0.tar.gz
|
||||
/delve-1.22.1.tar.gz
|
||||
/delve-1.23.0.tar.gz
|
||||
/delve-1.23.1.tar.gz
|
||||
/delve-1.24.0.tar.gz
|
||||
/delve-1.24.1.tar.gz
|
||||
/delve-1.24.2.tar.gz
|
||||
/delve-1.25.0.tar.gz
|
||||
/delve-1.25.1.tar.gz
|
||||
/delve-1.25.2.tar.gz
|
||||
/delve-1.26.0.tar.gz
|
||||
|
|
|
|||
|
|
@ -14,7 +14,9 @@ actions:
|
|||
jobs:
|
||||
- job: pull_from_upstream
|
||||
trigger: release
|
||||
dist_git_branches: fedora-rawhide
|
||||
dist_git_branches:
|
||||
rawhide:
|
||||
fast_forward_merge_into: [fedora-branched]
|
||||
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.99.0.post1.dev3+g7c61c94b.
|
||||
The file was generated using packit 1.13.0.post1.dev2+g84134016c.
|
||||
|
|
|
|||
29
delve.spec
29
delve.spec
|
|
@ -1,19 +1,23 @@
|
|||
# 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.23.0
|
||||
Version: 1.26.0
|
||||
|
||||
%global common_description %{expand:
|
||||
Delve is a debugger for the Go programming language. The goal of the project
|
||||
is to provide a simple, full featured debugging tool for Go. Delve should be
|
||||
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
|
||||
Delve is a debugger for the Go programming language. The goal of the project
|
||||
is to provide a simple, full featured debugging tool for Go. Delve should be
|
||||
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
|
||||
|
||||
|
|
@ -72,11 +76,10 @@ tar c -C vendor/ . | tar x -C %{gobuilddir}/src
|
|||
|
||||
%build
|
||||
echo "=== Start build ==="
|
||||
%gobuild -o %{gobuilddir}/bin/dlv %{goipath}/cmd/dlv
|
||||
%gobuild %{?exp} -o %{gobuilddir}/bin/dlv %{goipath}/cmd/dlv
|
||||
echo "=== End build ==="
|
||||
|
||||
%install
|
||||
%gopkginstall
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
|
||||
|
|
@ -85,13 +88,19 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
|||
export GO111MODULE=off
|
||||
export GOPATH=%{buildroot}/%{gopath}:%{gobuilddir}:%{gopath}
|
||||
delvepath=%{buildroot}/%{gopath}/src/%{goipath}
|
||||
mkdir -p $delvepath
|
||||
mkdir -p $delvepath/pkg/dwarf/line
|
||||
mkdir -p $delvepath/pkg/proc/internal
|
||||
cp -r _fixtures $delvepath
|
||||
cp -r pkg/dwarf $delvepath/pkg/
|
||||
cp -r pkg/dwarf/line/_testdata $delvepath/pkg/dwarf/line
|
||||
cp -r pkg/proc/internal/ebpf $delvepath/pkg/proc/internal/
|
||||
|
||||
pushd $delvepath
|
||||
echo "=== Start tests ==="
|
||||
%gotest $(go list ./... | awk '!/(cmd|scripts)/ {print $1}')
|
||||
for d in $(go list %{?exp} ./... | grep -v cmd | grep -v scripts); do
|
||||
go test %{?exp} ${d} -skip TestGuessSubstitutePath
|
||||
done
|
||||
echo "=== End tests ==="
|
||||
rm -rf $delvepath
|
||||
popd
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (delve-1.23.0.tar.gz) = aa0851e17690474e5a4b40f2b9008b518003237736443113ddea05d7dc94bced7f74927567ca7e8f9c7119d99e93919673ccf870244be1446f23a4f92f9d3f40
|
||||
SHA512 (delve-1.26.0.tar.gz) = 1b9d5c7b91bbf1df47c1fdb3553893497defe7a71ae9c7cef160cf15afac391fe77f66b748e028b29aa3456c21cfc079c2751afb788cb065ee8580501d21ad0e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue