summaryrefslogtreecommitdiffstats
path: root/packaging/repoconfig/netdata-repo.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/repoconfig/netdata-repo.spec')
-rw-r--r--packaging/repoconfig/netdata-repo.spec11
1 files changed, 5 insertions, 6 deletions
diff --git a/packaging/repoconfig/netdata-repo.spec b/packaging/repoconfig/netdata-repo.spec
index 242178ba7..3c99b921f 100644
--- a/packaging/repoconfig/netdata-repo.spec
+++ b/packaging/repoconfig/netdata-repo.spec
@@ -49,21 +49,20 @@ install -pm 644 %{SOURCE3} ./netdata-edge.repo
%endif
%if 0%{?centos_ver}
-# Amazon Linux 2 looks like CentOS, but with extra macros.
-%if 0%{?amzn2}
-install -pm 644 %{SOURCE8} ./netdata.repo
-install -pm 644 %{SOURCE9} ./netdata-edge.repo
-%else
install -pm 644 %{SOURCE4} ./netdata.repo
install -pm 644 %{SOURCE5} ./netdata-edge.repo
%endif
-%endif
%if 0%{?oraclelinux}
install -pm 644 %{SOURCE6} ./netdata.repo
install -pm 644 %{SOURCE7} ./netdata-edge.repo
%endif
+%if 0%{?amzn}
+install -pm 644 %{SOURCE8} ./netdata.repo
+install -pm 644 %{SOURCE9} ./netdata-edge.repo
+%endif
+
%build
true