From 40a56f00e97337a352b9934b43f1d62428c3e66e Mon Sep 17 00:00:00 2001 From: Nicolas Mailhot Date: Dec 02 2018 16:01:58 +0000 Subject: rename file list so it’s easier to use in specs --- diff --git a/rpm/macros.d/macros.go-rpm b/rpm/macros.d/macros.go-rpm index efee383..8f2279c 100644 --- a/rpm/macros.d/macros.go-rpm +++ b/rpm/macros.d/macros.go-rpm @@ -70,7 +70,7 @@ } # The default filelist name generated by %%goinstall -%gofllname devel.file-list +%gofilelist devel.file-list # Try to install Go package files in sensible locations, with strict directory # ownership and lockfile creation as required by Go autodeps. @@ -118,7 +118,7 @@ %define gofllprefix %gorpmname %{-i*} %endif}} go-rpm-integration install %{!?-i*:-i %{goipath}} \\ - %{!?-o*:-o %{?gofllprefix:%{gofllprefix}-}%{gofllname}} \\ + %{!?-o*:-o %{?gofllprefix:%{gofllprefix}-}%{gofilelist}} \\ %{!?-p*:-p %{buildroot}} %{!?-g*:-g %{gopath}} \\ %{!?-b*:-b "$PWD/_build"} \\ %{?**} %{?goinstallflags}