Skip to content

Commit

Permalink
Merge pull request #7 from simonpasquier/enable-aarch64
Browse files Browse the repository at this point in the history
Enable aarch64 build
  • Loading branch information
simonpasquier committed Jul 27, 2018
2 parents 1e51fa3 + feb080a commit 2b92040
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions golang-github-prometheus-alertmanager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ Name: golang-%{provider}-%{project}-%{repo}
# Version and release information will be automatically managed by CD
# It will be kept in sync with OCP builds.
Version: %{rpm_ver}
Release: 1.git%{shortcommit}%{?dist}
Release: 2.git%{shortcommit}%{?dist}
Summary: The Prometheus Alertmanager handles alerts sent by client applications such as the Prometheus server.
License: ASL 2.0
URL: https://prometheus.io/
Source0: https://%{download_prefix}/archive/%{commit}/%{repo}-%{commit}.tar.gz

# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
# promu-based packages FTBFS on aarch64 (#1487462)
ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} ppc64le s390x}
ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm} ppc64le s390x}
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
BuildRequires: glibc-static
Expand Down Expand Up @@ -85,6 +84,9 @@ install -d %{buildroot}%{_sharedstatedir}/prometheus-alertmanager
%{_sharedstatedir}/prometheus-alertmanager

%changelog
* Fri Jul 27 2018 Simon Pasquier <spasqui@redhat.com> - 0.15.1-2
- Enable aarch64

* Mon Jul 16 2018 Simon Pasquier <spasqui@redhat.com> - 0.15.1-1
- Upgrade to 0.15.1

Expand Down

0 comments on commit 2b92040

Please sign in to comment.