# RPM macros for Go packages. # # © 2017-2018 Nicolas Mailhot # # Legacy deprecated bits graveyard, for compatibility only # Do not use, they *will* be removed # # SPDX-License-Identifier: GPL-3.0-or-later %gobuildroot %{expand: %{warn:%%gobuildroot is obsolete, use %%goprep in %%prep instead!} %goenv -z 0 %gomkdir -k ln -fs "%{gobuilddir}/bin" _bin } %gochecksflags %{gocheckflags} %gochecks(z:ai:b:s:vd:t:rV:T:C:B:p:g:w) %{expand: %{warn:%%gochecks is obsolete, use %%gocheck in %%check instead!} %gocheck %{-z} %{-a} %{-i} %{-b} %{-s} %{-v} %{-d} %{-t} %{-r} %{-V} %{-T} %{-C} %{-B} %{-p} %{-g} %{-w} }