Add %%go_arches fallback to work around Koji issues

This commit is contained in:
Carl George 2018-03-12 16:11:29 -05:00
parent a3e355459f
commit 716ff62d4b

View File

@ -33,7 +33,7 @@
Name: git-lfs
Version: 2.4.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Git extension for versioning large files
License: MIT
@ -42,7 +42,7 @@ Source0: https://%{provider_prefix}/archive/v%{version}/%{name}-%{version
# https://github.com/git-lfs/git-lfs/pull/2901
Patch000: 0001-Use-unique-repo-name-for-tests-that-require-credenti.patch
ExclusiveArch: %{go_arches}
ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} aarch64 ppc64le s390x}
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
%if 0%{?with_bundled}
@ -252,6 +252,9 @@ popd
%changelog
* Mon Mar 12 2018 Carl George <carl@george.computer> - 2.4.0-2
- Add %%go_arches fallback to work around Koji issues
* Sun Mar 04 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.4.0-1
- Update to latest release.