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

Improve the debuginfo enablement backwards compatibility #3098

Merged
merged 1 commit into from
May 14, 2024

Conversation

pmatilai
Copy link
Member

@pmatilai pmatilai commented May 14, 2024

Move the enablement logic to %__spec_install_template where it can be buried with relatively little danger of being overridden by distros or packagers. It's moderately annoying as the logic isn't no longer neatly in one spot, but %__spec_install_post is commonly overridden by distros and even packages, and in particular we don't want to have packages copy-paste all this stuff along, because that makes making any changes to this stuff even harder than it already is.

This should be entirely backwards compatible with all the pre-existing %__spec_install_post overrides.

Co-authored-by: Florian Festi [email protected]

Move the enablement logic to %__spec_install_template where it can be
buried with relatively little danger of being overridden by distros or
packagers. It's moderately annoying as the logic isn't no longer neatly in
one spot, but %__spec_install_post is commonly overridden by distros
and even packages, and in particular we don't want to have packages
copy-paste all this stuff along, because that makes making any changes
to this stuff even harder than it already is.

This should be entirely backwards compatible with all the pre-existing
%__spec_install_post overrides.

Co-authored-by: Florian Festi <[email protected]>
@pmatilai pmatilai merged commit 69c837a into rpm-software-management:master May 14, 2024
1 check passed
@pmatilai pmatilai deleted the debuginfo-pre branch May 14, 2024 11:16
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.

None yet

1 participant