diff --git a/.gitignore b/.gitignore index bf49283..3b94b98 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /go-llvm-7707ae5d1261a8929edea7336c8087ca8b520d8d.tar.gz /go-llvm-0713e35494975a4ca953b2cc3d09f21bf92497f2.tar.gz /go-llvm-95bc4ffe1adda2d3fa986628373a27a674940978.tar.gz +/go-llvm-1ff21df335666b54d9b3c601c11800285e00939d.tar.gz diff --git a/fix-ir-test.patch b/fix-ir-test.patch deleted file mode 100644 index a30d7f4..0000000 --- a/fix-ir-test.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/ir_test.go b/ir_test.go -index 10f4968..afcc8fd 100644 ---- a/ir_test.go -+++ b/ir_test.go -@@ -31,7 +31,7 @@ func testAttribute(t *testing.T, name string) { - fn.AddFunctionAttr(attr) - newattr := fn.GetEnumFunctionAttribute(kind) - if attr != newattr { -- t.Errorf("got attribute mask %d, want %d", newattr, attr) -+ t.Errorf("got attribute mask %d, want %d", newattr.C, attr.C) - } - - text := mod.String() -@@ -42,7 +42,7 @@ func testAttribute(t *testing.T, name string) { - fn.RemoveEnumFunctionAttribute(kind) - newattr = fn.GetEnumFunctionAttribute(kind) - if !newattr.IsNil() { -- t.Errorf("got attribute mask %d, want 0", newattr) -+ t.Errorf("got attribute mask %d, want 0", newattr.C) - } - } - diff --git a/golang-tinygo-x-llvm.spec b/golang-tinygo-x-llvm.spec index f0a6b07..7fcc76e 100644 --- a/golang-tinygo-x-llvm.spec +++ b/golang-tinygo-x-llvm.spec @@ -4,7 +4,7 @@ # https://github.com/tinygo-org/go-llvm %global goipath tinygo.org/x/go-llvm %global forgeurl https://github.com/tinygo-org/go-llvm -%global commit 95bc4ffe1adda2d3fa986628373a27a674940978 +%global commit 1ff21df335666b54d9b3c601c11800285e00939d %gometa @@ -19,14 +19,12 @@ This library provides bindings to a system-installed LLVM.} Name: %{goname} Version: 0 -Release: 0.7%{?dist} +Release: 0.8%{?dist} Summary: Go bindings to a system-installed LLVM License: NCSA URL: %{gourl} Source0: %{gosource} -# https://github.com/tinygo-org/go-llvm/pull/5 -Patch0: fix-ir-test.patch BuildRequires: gcc-c++ BuildRequires: llvm-devel @@ -38,9 +36,8 @@ BuildRequires: llvm-devel %prep %goprep -%patch0 -p1 # Set current LLVM paths. -make config VERSION=8.0.0 LDFLAGS=$(llvm-config --libs) BUILDDIR=%{_prefix} +make config VERSION=9.0.0 LDFLAGS=$(llvm-config --libs) BUILDDIR=%{_prefix} %install %gopkginstall @@ -53,7 +50,10 @@ make config VERSION=8.0.0 LDFLAGS=$(llvm-config --libs) BUILDDIR=%{_prefix} %gopkgfiles %changelog -* Wed Jan 29 2020 Fedora Release Engineering - 0-0.7 +* Fri Feb 07 2020 Elliott Sales de Andrade - 0-0.8.20200207git1ff21df +- Update to latest commit + +* Wed Jan 29 2020 Fedora Release Engineering - 0-0.7.20190925git95bc4ff - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Sep 25 2019 Elliott Sales de Andrade - 0-0.6.20190925git95bc4ff diff --git a/sources b/sources index fd58e11..e57eeae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-llvm-95bc4ffe1adda2d3fa986628373a27a674940978.tar.gz) = 2e8dbb4a2f0f5c31aedb0bdda362711a0ffe60e708e89a0fcb87c317cb3016228c8f8c468f6af0f3a8ef7c525d9e336c6eb28b9ac835c26f0aabcd68f0f1891f +SHA512 (go-llvm-1ff21df335666b54d9b3c601c11800285e00939d.tar.gz) = ad1c1d4e86fc2d5d22ed764f8835682658f7ea411123a4960087c88afe320b642a6d71bd26900460e0b49e173221b984f65b72805048662aa9ea8d8fbe444580