# Generated by go2rpm %bcond_without check # 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 0713e35494975a4ca953b2cc3d09f21bf92497f2 %gometa %global godevelheader %{expand: Requires: llvm-devel} %global common_description %{expand: This library provides bindings to a system-installed LLVM.} %global golicenses LICENSE.txt %global godocs README.markdown Name: %{goname} Version: 0 Release: 0.3%{?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 %description %{common_description} %gopkg %prep %goprep %patch0 -p1 # Set current LLVM paths. make config VERSION=8.0.0 LDFLAGS=$(llvm-config --libs) BUILDDIR=%{_prefix} %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Jun 05 00:36:32 CEST 2019 Robert-André Mauchin - 0-0.3.20190605git0713e35 - Bump to commit 0713e35494975a4ca953b2cc3d09f21bf92497f2 * Sat Apr 27 2019 Elliott Sales de Andrade - 0-0.2-20190427git7707ae5 - Add llvm-devel to Requires * Thu Apr 18 2019 Elliott Sales de Andrade - 0-0.1-20190427git7707ae5 - First package for Fedora