-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Amazon Linux 2023 #60
Conversation
izzyleung
commented
Apr 5, 2023
- Add support for building RPMs on Amazon Linux 2023 (previously known as Amazon Linux 2022).
- Fixes some minor issues
@@ -54,6 +54,13 @@ Requires(preun): systemd | |||
Requires(postun): systemd | |||
%endif | |||
|
|||
%if 0%{?amzn2023} | |||
BuildRequires: systemd-devel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like systemd-units
is not available on Amazon Linux 2023, removed it from BuildRequires
block
* Thu Jul 07 2022 Karsten Horsmann <khorsmann@gmail.com> | ||
- Add Docker support for RHEL 9.0 / Almalinux 9.0 | ||
|
||
* Thu Feb 10 2022 Kai Parry <tp@threadproc.io> | ||
- Add Docker support for Amazon Linux 2 | ||
|
||
* Sat May 30 2021 David Bezemer <info@davidbezemer.nl> | ||
* Sun May 30 2021 David Bezemer <info@davidbezemer.nl> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes warning for
warning: bogus date in %changelog: Sat May 30 2021 David Bezemer <info@davidbezemer.nl>
@@ -9,4 +9,4 @@ COPY Makefile Makefile | |||
COPY SPECS/haproxy.spec SPECS/haproxy.spec | |||
COPY SOURCES/* SOURCES/ | |||
|
|||
CMD make NO_SUDO=1 && cp /rpmbuild/RPMS/x86_64/* /RPMS && cp /rpmbuild/SRPMS/* /RPMS | |||
CMD make NO_SUDO=1 USE_PROMETHEUS=${USE_PROMETHEUS:-0} RELEASE=${RELEASE:-1} && cp /rpmbuild/RPMS/x86_64/* /RPMS && cp /rpmbuild/SRPMS/* /RPMS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pass in the necessary environment variables
@@ -0,0 +1,13 @@ | |||
$ModLoad imudp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is a clone of SOURCES/haproxy.syslog.amzn2
…haproxy into amazon-linux-2023-support