Skip to content

Only inject pre and post scriptlets when provided#788

Merged
aiuto merged 2 commits intobazelbuild:mainfrom
kellyma2:empty-scriptlets
Nov 28, 2023
Merged

Only inject pre and post scriptlets when provided#788
aiuto merged 2 commits intobazelbuild:mainfrom
kellyma2:empty-scriptlets

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
@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