Repository navigation
Commit b40cb52
committed
io-libs/adios2: require yaml-cpp by SONAME instead of package 🔗
yaml-cpp in EPEL 10 is regularly updated to versions with a new SONAME,
while the previous library moves to a compat package. As AutoReq is
disabled for adios2, the dependency was a plain "Requires: yaml-cpp",
which does not ensure the library adios2 was linked against stays
installed.
Determine the SONAME provide of the library behind libyaml-cpp.so at
build time and require that instead, matching what rpm's automatic
dependency generator would produce. Fall back to the package name if it
cannot be determined.
Signed-off-by: Adrian Reber <adrian@lisas.de>1 parent 8827174 commit b40cb52
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
34 | 42 | | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
| |||
0 commit comments