From 0775c27c596056c01441be4b32be13b86f1ba50d Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Feb 07 2022 14:08:16 +0000 Subject: Fix shared library file list guidance to use stricter globbing The previous guidance on how to list shared libraries in file lists did not cover several corner cases of how library soname bumps could occur (increasing by adding zeros, for example). Fix the guidance to cover those cases by using a stricter glob instead. --- diff --git a/guidelines/modules/ROOT/pages/index.adoc b/guidelines/modules/ROOT/pages/index.adoc index 5ec0896..3f3b7d7 100644 --- a/guidelines/modules/ROOT/pages/index.adoc +++ b/guidelines/modules/ROOT/pages/index.adoc @@ -1457,7 +1457,7 @@ this change might remain unnoticed and cause problems like broken dependencies However, if the use of globs is deemed useful by the packager - for example, if the `Y` and `Z` parts of a library named `libfoo.so.X.Y.Z` change frequently, -using something like `libfoo.so.X*` is recommended instead, +using something like `libfoo.so.X{,.*}` is recommended instead, since dependent packages usually don't have to be rebuilt for changes of this kind.