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:
brian m. carlson 2022-10-18 15:22:36 +00:00
parent 723be34bd0
commit 350d8a20df
No known key found for this signature in database
GPG Key ID: 2D0C9BC12F82B3A1

@ -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