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

ldconfig scriptlet check #1015

Open
jengelh opened this issue Mar 6, 2023 · 3 comments
Open

ldconfig scriptlet check #1015

jengelh opened this issue Mar 6, 2023 · 3 comments

Comments

@jengelh
Copy link
Contributor

jengelh commented Mar 6, 2023

Maybe we should add check that identifies

%post -p /sbin/ldconfig
# blahblah

and flags an error. (# is passed to ldconfig as stdin, which is almost always wrong.)
That, or rpm should learn to treat ^# as comments everywhere rather than just in the preamble so we don't need the m4-style-ugly-hack that is %dnl.

@mimi1vx
Copy link
Contributor

mimi1vx commented Mar 19, 2023

even better we should stop detecting ldconfig scriplet because on rpm-4.13+ it is handled by filettrigers ..

@Conan-Kudo
Copy link
Member

If they need compatibility, use %ldconfig_scriptlets instead. It's on Fedora and openSUSE. :)

@Conan-Kudo
Copy link
Member

even better we should stop detecting ldconfig scriplet because on rpm-4.13+ it is handled by filettrigers ..

openSUSE has not implemented the file trigger for doing this like Fedora did.

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

No branches or pull requests

3 participants