-
Notifications
You must be signed in to change notification settings - Fork 788
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
Packit: easier to read distro conditionals #2017
Conversation
Ignore until koji and copr builds verified. |
copr build looks fine: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/packit-builds/build/6087595/ PTAL. |
I think I can also get rid of a lot of the |
adding more cleanups |
37ccc27
to
8c3e773
Compare
@mtrmac PTAL. spec file should be much easier to read now. |
Distro conditionals have been rewritten in a cleaner and easier to read way. All `bcond` macros have been replaced with friendlier alternatives. Also removed macros related to `import_path` as they are no longer necessary. update-spec-provides.sh has been updated to account for possible build issues in downstream tasks which won't be noticed until a downstream release. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
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.
Thanks! Shrinking code is always nice.
LGTM to the little extent I understand the details, please merge as appropriate after tests pass.
LGTM |
/lgtm |
Distro conditionals have been rewritten in a cleaner
and easier to read way.
All
bcond
macros have been replaced with friendlier alternatives.Also removed macros related to
import_path
as they are no longernecessary.