Commit d9a14c4efddc83e01b4194d22880f6332ba7040c

Authored by Silvan Calarco
1 parent 15825d0a4b
Exists in silvan

pck-update: restore build requirement detection for *.so requirements

Showing 2 changed files with 4 additions and 1 deletions Side-by-side Diff

1 1 Changes in version 1.14.1 - _TO*Hacklab release
2 2 Fri Nov 09 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
  3 ++ bugfix
  4 + * plugins/pck-update.in - Silvan Calarco:
  5 + Restore build requirement detection for *.so requirements
3 6  
4 7 + improvement
5 8 * plugins/spec-create - Davide Madrisan:
plugins/pck-update.in
... ... @@ -2244,7 +2244,7 @@
2244 2244 echo "\
2245 2245 #$req: library not reported by ldconfig; run \`ldconfig' and try again"
2246 2246 fi
2247   - elif [[ "$req" =~ .*\(.*\) ]]; then
  2247 + elif [[ "$req" =~ .*\(.*\) || "$req" =~ .*\.so ]]; then
2248 2248 # other a(b) requirements
2249 2249 rpm -q --qf %{name} --whatprovides "$req" &>/dev/null &&
2250 2250 buildreq="$(rpm -q --qf %{name} --whatprovides "$req")" ||