From 142aa003f1dee80ef1a31124d27e60aeedd09031 Mon Sep 17 00:00:00 2001 From: Packit Date: Feb 29 2024 12:55:37 +0000 Subject: [packit] 0.7.0 upstream release Skip TestObjdumpARM64TestDecodeGNUSyntaxdata and TestObjdumpARM64TestDecodeGoSyntaxdata See https://github.com/golang/go/issues/66005 - Resolves rhbz#2219644 - Resolves rhbz#2261205 Upstream tag: v0.7.0 Upstream commit: a8505704 --- diff --git a/.gitignore b/.gitignore index d5e576f..043a0d7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /arch-cfa462d59626e1fd66d29ac63d6c28b4cc7f0b29.tar.gz /arch-0.2.0.tar.gz /arch-0.3.0.tar.gz +/arch-0.7.0.tar.gz diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..31341b6 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.93.0. diff --git a/disable-tests.patch b/disable-tests.patch new file mode 100644 index 0000000..d59d52a --- /dev/null +++ b/disable-tests.patch @@ -0,0 +1,31 @@ +From 1e6a31129c95cf53ad1b3e51ab93e80812a0f550 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Alejandro=20S=C3=A1ez?= +Date: Thu, 29 Feb 2024 11:39:01 +0100 +Subject: [PATCH] Disable tests + +Disable TestObjdumpARM64TestDecodeGNUSyntaxdata and TestObjdumpARM64TestDecodeGoSyntaxdata + +Relates to https://github.com/golang/go/issues/66005 +--- + arm64/arm64asm/objdump_test.go | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/arm64/arm64asm/objdump_test.go b/arm64/arm64asm/objdump_test.go +index a096dce..74a296a 100644 +--- a/arm64/arm64asm/objdump_test.go ++++ b/arm64/arm64asm/objdump_test.go +@@ -10,9 +10,11 @@ import ( + ) + + func TestObjdumpARM64TestDecodeGNUSyntaxdata(t *testing.T) { ++ t.Skipf("skipping due to compatibility issues with objdump") + testObjdumpARM64(t, testdataCases(t, "gnu")) + } + func TestObjdumpARM64TestDecodeGoSyntaxdata(t *testing.T) { ++ t.Skipf("skipping due to compatibility issues with objdump") + testObjdumpARM64(t, testdataCases(t, "plan9")) + } + func TestObjdumpARM64Manual(t *testing.T) { testObjdumpARM64(t, hexCases(t, objdumpManualTests)) } +-- +2.43.2 + diff --git a/golang-x-arch.spec b/golang-x-arch.spec index ee968e1..cdf4eef 100644 --- a/golang-x-arch.spec +++ b/golang-x-arch.spec @@ -4,7 +4,7 @@ # https://github.com/golang/arch %global goipath golang.org/x/arch %global forgeurl https://github.com/golang/arch -Version: 0.3.0 +Version: 0.7.0 %gometa @@ -28,6 +28,9 @@ Source0: %{gosource} BuildRequires: golang(rsc.io/pdf) +# See https://github.com/golang/go/issues/66005 +Patch01: disable-tests.patch + %description %{common_description} @@ -35,6 +38,7 @@ BuildRequires: golang(rsc.io/pdf) %prep %goprep +%autopatch -v -p1 %install %gopkginstall diff --git a/sources b/sources index a6edc21..9cdc456 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (arch-0.3.0.tar.gz) = d221de6bd4e53c2d0c04129cbff6ae6995ba9bd6fbaf25647f7912d1153e42a08032457da4048c709668bd6ae99e307a5547592e1782cc1fd871397c7009ff37 +SHA512 (arch-0.7.0.tar.gz) = eb355b0dbbec0e10597601d7df288bd18e96ddc8c9f2cc801a9f3183c47f2b31befab9cead876f0fe8c4048af520862ec53401aeeb6c571cf8e44f0315806127