diff options
| author | CoprDistGit <infra@openeuler.org> | 2025-02-03 16:32:42 +0000 | 
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2025-02-03 16:32:42 +0000 | 
| commit | 88596f15749fb65ffdd200dccc0fc472b93e14fe (patch) | |
| tree | 95e0b001d8fc06c7ba0432b1e1a19bc1a95955d5 | |
| parent | 0a2340d73e15a4f33e4f5f51dad1b12963971983 (diff) | |
automatic import of openEuler-rpm-configopeneuler24.03_LTS
| -rw-r--r-- | libsymlink.attr | 5 | ||||
| -rw-r--r-- | openEuler-rpm-config.spec | 8 | 
2 files changed, 11 insertions, 2 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 diff --git a/openEuler-rpm-config.spec b/openEuler-rpm-config.spec index c0ad452..30b9861 100644 --- a/openEuler-rpm-config.spec +++ b/openEuler-rpm-config.spec @@ -3,7 +3,7 @@  Name:		%{vendor}-rpm-config  Version:	31 -Release:	15 +Release:	16  License:	GPL+ AND MIT  Summary:	specific rpm configuration files  URL:		https://gitee.com/src-openeuler/openEuler-rpm-config @@ -38,10 +38,11 @@ Source201: infopages.attr  Source202: manpages.attr  Source203: nbdkit.attr  Source204: find-provides.nbdkit -# Source 205-207 from fedora, licenced under MIT +# Source 205-208 from fedora, licenced under MIT  Source205: kabi.attr  Source206: kabi.sh  Source207: kmod.attr +Source208: libsymlink.attr  # Misc helper scripts  Source300: kmodtool @@ -194,6 +195,9 @@ sed -i "s/@VENDOR@/%{vendor}/g" `grep "@VENDOR@" -rl %{buildroot}%{_rpmconfigdir  %{_fileattrsdir}/kmod.attr  %changelog +* Mon Feb 03 2025 Funda Wang <fundawang@yeah.net> - 31-16 +- Make libfoo.so symlinks require the soname-provide of the target library +  * Fri Jan 31 2025 Funda Wang <fundawang@yeah.net> - 31-15  - add kabi, kmod dependency generators from fedora  | 
