chore: set specfile version at build
In [1] I changed the name of the variable used to deduce the version built. I forgot to update this in the specfile. Let's correct that. [1]: https://github.com/osbuild/image-builder-cli/pull/230 Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
parent
6022e76122
commit
27ad7cb6f0
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ export GOFLAGS+=" -mod=vendor"
|
|||
GOTAGS="exclude_graphdriver_btrfs"
|
||||
%endif
|
||||
|
||||
export LDFLAGS="${LDFLAGS} -X 'main.BuildVersion=%{version}'"
|
||||
export LDFLAGS="${LDFLAGS} -X 'main.version=%{version}'"
|
||||
%gobuild ${GOTAGS:+-tags=$GOTAGS} -o %{gobuilddir}/bin/image-builder %{goipath}/cmd/image-builder
|
||||
|
||||
%install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue