Compare commits

..

4 commits

Author SHA1 Message Date
Packit
15dea88280 Update to 1.23.1 upstream release
- Resolves: rhbz#2314436

Upstream tag: v1.23.1
Upstream commit: 856ad78b

Commit authored by Packit automation (https://packit.dev/)
2024-09-24 14:08:58 +00:00
Alejandro Sáez
e6453ba230 Merge branch 'rawhide' into f39 2024-08-09 18:33:59 +02:00
Packit
66cbfef487 [packit] 1.22.1 upstream release
- Resolves rhbz#2265452

Upstream tag: v1.22.1
Upstream commit: 26799555
2024-02-22 16:19:11 +00:00
Packit
99101c5dcd [packit] 1.22.0 upstream release
- Resolves rhbz#2242098

Upstream tag: v1.22.0
Upstream commit: 31a3c0de
2023-12-31 18:18:02 +00:00
5 changed files with 13 additions and 31 deletions

7
.gitignore vendored
View file

@ -6,10 +6,3 @@
/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

View file

@ -14,9 +14,7 @@ actions:
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
rawhide:
fast_forward_merge_into: [fedora-branched]
dist_git_branches: fedora-rawhide
- job: koji_build
trigger: commit

View file

@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.13.0.post1.dev2+g84134016c.
The file was generated using packit 0.101.1.

View file

@ -1,23 +1,19 @@
# 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.26.0
Version: 1.23.1
%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, aarch64, and ppc64le
%global golang_arches x86_64 aarch64 ppc64le
# Currently Delve only supports x86_64 and aarch64
%global golang_arches x86_64 aarch64
%gometa
@ -76,10 +72,11 @@ tar c -C vendor/ . | tar x -C %{gobuilddir}/src
%build
echo "=== Start build ==="
%gobuild %{?exp} -o %{gobuilddir}/bin/dlv %{goipath}/cmd/dlv
%gobuild -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}/
@ -88,19 +85,13 @@ 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 ==="
for d in $(go list %{?exp} ./... | grep -v cmd | grep -v scripts); do
go test %{?exp} ${d} -skip TestGuessSubstitutePath
done
%gotest $(go list ./... | awk '!/(cmd|scripts)/ {print $1}')
echo "=== End tests ==="
rm -rf $delvepath
popd

View file

@ -1 +1 @@
SHA512 (delve-1.26.0.tar.gz) = 1b9d5c7b91bbf1df47c1fdb3553893497defe7a71ae9c7cef160cf15afac391fe77f66b748e028b29aa3456c21cfc079c2751afb788cb065ee8580501d21ad0e
SHA512 (delve-1.23.1.tar.gz) = 1f88b5aa7d0442b5c4f79be5cf465d76bc3849e849f36677f36735a57b117db0a3cdecc2bbc215573d9fcdae724e6f50b792550b6188e844e392d9a659281dfe