Skip to content
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

Only inject pre and post scriptlets when provided #788

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

kellyma2
Copy link
Contributor

Currently if the consumer doesn't provide a value for the pre or post scriplets we inject an empty scriptlet which has the effect of constructing an RPM that appears to have these scriplets (although they're empty). Instead, we likely want to not provide them at all in these cases.

Currently if the consumer doesn't provide a value for the pre or post
scriplets we inject an empty scriptlet which has the effect of
constructing an RPM that appears to have these scriplets (although
they're empty).  Instead, we likely want to not provide them at all in
these cases.
Copy link
Collaborator

@aiuto aiuto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to presume this is reasonable behavior.

@aiuto aiuto merged commit 8b85c37 into bazelbuild:main Nov 28, 2023
1 check passed
@kellyma2 kellyma2 deleted the empty-scriptlets branch November 28, 2023 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants