diff options
author | Paul Szymanski <519954+PaulSzymanski@users.noreply.github.com> | 2024-04-11 09:00:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 09:00:10 -0400 |
commit | d1a5035578dbde427408bad572c3b03f395b988a (patch) | |
tree | 5252bcbf23d1c81012b2c476df0427e404cb09f3 /packaging/repoconfig/netdata-repo.spec | |
parent | eb8c28fc3056fe6110c638cbb1488297a01948d1 (diff) |
Add repo config for Amazon Linux 2023. (#17330)
* Add repo config for Amazon Linux 2023.
dnf and yum resolve $releasever to a verbose release version (e.g. 2023.4.20240401).
However, there is no need to create repositories for every version Amazon comes up with.
Resolves https://github.com/netdata/netdata/issues/17324
* Have a more specific conditional file install (amzn2)
* Bump repo spec release for Amazon Linux changes.
Diffstat (limited to 'packaging/repoconfig/netdata-repo.spec')
-rw-r--r-- | packaging/repoconfig/netdata-repo.spec | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/packaging/repoconfig/netdata-repo.spec b/packaging/repoconfig/netdata-repo.spec index 3c99b921f1..64f7140e48 100644 --- a/packaging/repoconfig/netdata-repo.spec +++ b/packaging/repoconfig/netdata-repo.spec @@ -2,7 +2,7 @@ Name: netdata-repo Version: 2 -Release: 2 +Release: 3 Summary: Netdata stable repositories configuration. Group: System Environment/Base @@ -18,6 +18,8 @@ Source6: netdata.repo.ol Source7: netdata-edge.repo.ol Source8: netdata.repo.al Source9: netdata-edge.repo.al +Source10: netdata.repo.al2023 +Source11: netdata-edge.repo.al2023 BuildArch: noarch @@ -58,11 +60,16 @@ install -pm 644 %{SOURCE6} ./netdata.repo install -pm 644 %{SOURCE7} ./netdata-edge.repo %endif -%if 0%{?amzn} +%if 0%{?amzn2} install -pm 644 %{SOURCE8} ./netdata.repo install -pm 644 %{SOURCE9} ./netdata-edge.repo %endif +%if 0%{?amzn2023} +install -pm 644 %{SOURCE10} ./netdata.repo +install -pm 644 %{SOURCE11} ./netdata-edge.repo +%endif + %build true @@ -107,6 +114,8 @@ This package contains the official Netdata package repository configuration for %endif %changelog +* Wed Apr 10 2024 Paul Szymanski <mail@pszy.de> 2-3 +- Fix repo specification for Amazon Linux 2023. * Mon Nov 13 2023 Austin Hemmelgarn <austin@netdata.cloud> 2-2 - Add EPEL requirement for RHEL packages. * Wed Dec 7 2022 Austin Hemmelgarn <austin@netdata.cloud> 2-1 |