1323c4d6de
RPM's macro engine itself understands backslash escapes so we need to double-escape these, otherwise we may accidentally match symlink targets that contain the substring "so" in their names, such as: libechosounder.so -> libechosounder2.so ~~ ^ this is currently matched Whereas we only want these to be processed: libechosounder.so -> libechosounder.so.2 ~~~~~ ^ this should be matched Resolves: RHEL-28767
6 lines
271 B
Plaintext
6 lines
271 B
Plaintext
# Make libfoo.so symlinks require the soname-provide of the target library
|
|
%__libsymlink_requires %{_rpmconfigdir}/elfdeps --provides --soname-only
|
|
%__libsymlink_magic ^symbolic link to .*lib.*\\.so\\..*$
|
|
%__libsymlink_path ^.*\\.so$
|
|
%__libsymlink_flags magic_and_path
|