summaryrefslogtreecommitdiff
path: root/libsymlink.attr
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-03 16:32:42 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-03 16:32:42 +0000
commit08a5d572006a65f2064ecc9a050707af42f3801b (patch)
tree95e0b001d8fc06c7ba0432b1e1a19bc1a95955d5 /libsymlink.attr
parentcb167f72af27aa8d3bc412351ce6590978135d1c (diff)
automatic import of openEuler-rpm-configopeneuler24.03_LTS_SP1
Diffstat (limited to 'libsymlink.attr')
-rw-r--r--libsymlink.attr5
1 files changed, 5 insertions, 0 deletions
diff --git a/libsymlink.attr b/libsymlink.attr
new file mode 100644
index 0000000..8d2c58b
--- /dev/null
+++ b/libsymlink.attr
@@ -0,0 +1,5 @@
+# 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