From d9a14c4efddc83e01b4194d22880f6332ba7040c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 7 Nov 2012 22:13:55 +0100 Subject: [PATCH] pck-update: restore build requirement detection for *.so requirements --- ChangeLog | 3 +++ plugins/pck-update.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6954a57..dcf4b73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Changes in version 1.14.1 - _TO*Hacklab release Fri Nov 09 2012 Davide Madrisan ++ bugfix + * plugins/pck-update.in - Silvan Calarco: + Restore build requirement detection for *.so requirements + improvement * plugins/spec-create - Davide Madrisan: diff --git a/plugins/pck-update.in b/plugins/pck-update.in index fd9c1e6..9a7dd72 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -2244,7 +2244,7 @@ $(echo $solibpath | sed "s|-[0-9.]*\.so|.so|")" echo "\ #$req: library not reported by ldconfig; run \`ldconfig' and try again" fi - elif [[ "$req" =~ .*\(.*\) ]]; then + elif [[ "$req" =~ .*\(.*\) || "$req" =~ .*\.so ]]; then # other a(b) requirements rpm -q --qf %{name} --whatprovides "$req" &>/dev/null && buildreq="$(rpm -q --qf %{name} --whatprovides "$req")" ||