diff --git a/ChangeLog b/ChangeLog index f925f6b..e9bc7bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,7 +6,12 @@ Sat Jul 13 2013 Madrisan Replace 'notify --error' by 'notify.error'. * tests/test01_pkgquality - Davide Madrisan: - Test fo bad BuildArch tags: modify regexp to catch OCaml library files. + Test for bad BuildArch tags: modify regexp to catch OCaml library files. + + * tests/test01_pkgquality - Davide Madrisan: + Check for wrong file attributes in bin and lib directories: + Do ignore files with name matching '*.so.owner'. These are text files + used by OCaml. ------------------------------------------------------------------------------- diff --git a/tests/test01_pkgquality.in b/tests/test01_pkgquality.in index 4f8d497..a61c534 100644 --- a/tests/test01_pkgquality.in +++ b/tests/test01_pkgquality.in @@ -218,8 +218,9 @@ $"checking for wrong file attributes in bin and lib directories""${NORM}..." for pck in ${rpmpkg_name[@]}; do pushd $tmpextractdir/$i >/dev/null for f in $( find . -type f \( \ - \( -name '*.so.*' -not -perm 755 \) -or \ - \( -name '*.so' -not -perm 755 \) -or \ + \( -name '*.so.*' -and -not -name '*.so.owner' \ + -and -not -perm 755 \) -or \ + \( -name '*.so' -and -not -perm 755 \) -or \ \( \( -path './bin/*' -or \ -path './sbin/*' -or \ -path './usr/bin/*' -or \