ldconfig scriptlet check
jengelh opened this issue · comments
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.
even better we should stop detecting ldconfig scriplet because on rpm-4.13+ it is handled by filettrigers ..
If they need compatibility, use %ldconfig_scriptlets
instead. It's on Fedora and openSUSE. :)
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.