-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[skip-ci] RPM: cleanup macro defs #24864
base: main
Are you sure you want to change the base?
Conversation
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.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, lsm5 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
A friendly reminder that this PR had no activity for 30 days. |
The default `gobuild` macro on CentOS Stream 9 now includes support for `BUILDTAGS`. CentOS Stream envs now also define `_user_tmpfilesdir` macro by default. Both these definitions are no longer needed here. `libtrust_openssl` buildtag is also set in spec wherever relevant. Signed-off-by: Lokesh Mandvekar <[email protected]>
e144b87
to
76d234a
Compare
/packit build |
@containers/podman-maintainers PTAL |
@jnovy PTAL |
For |
%if %{defined rhel} | ||
%define fips 1 | ||
%endif |
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.
I am not sure if fips is a good condition name, fips can be enabled on fedora as well.
AFAICT the build tag is calling some special code only in the rhel go builds? At least it doe snot compile on fedora with that tag. So I guess just using rhel as condition seems best.
But overall it would likely be great to have some actual docs on what that tag does and why rhel needs it, I guess some specific crypto policy.
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.
The question here is if we need libtrust_openssl
in Fedora and CentOS too - by default?
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.
Well it doesn't build on fedora so the answer is we cannot use it on fedora.
And I guess the rhel macro also applies to centos by default?
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.
Yes, centos
and rhel
macros are defined in CentOS, in RHEL only rhel
The default
gobuild
macro on CentOS Stream 9 now includes support forBUILDTAGS
.CentOS Stream envs now also define
_user_tmpfilesdir
macro by default.Both these definitions are no longer needed here.
Does this PR introduce a user-facing change?