rpm: avoid using barewords in comaprison
The version of RPM in Rocky Linux 9 no longer allows string comparisons with barewords. Quote the arguments properly to make sure that the comparison works on Rocky Linux 9.
This commit is contained in:
parent
723be34bd0
commit
350d8a20df
@ -33,7 +33,7 @@ ln -s $(pwd) src/github.com/git-lfs/%{name}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
pushd src/github.com/git-lfs/%{name}
|
pushd src/github.com/git-lfs/%{name}
|
||||||
%if %{_arch} == i386
|
%if "%{_arch}" == "i386"
|
||||||
GOARCH=386 FORCE_LOCALIZE=true make
|
GOARCH=386 FORCE_LOCALIZE=true make
|
||||||
%else
|
%else
|
||||||
GOARCH=amd64 FORCE_LOCALIZE=true make
|
GOARCH=amd64 FORCE_LOCALIZE=true make
|
||||||
|
Loading…
Reference in New Issue
Block a user