pck-update: restore build requirement detection for *.so requirements
This commit is contained in:
parent
15825d0a4b
commit
d9a14c4efd
@ -1,5 +1,8 @@
|
|||||||
Changes in version 1.14.1 - _TO*Hacklab release
|
Changes in version 1.14.1 - _TO*Hacklab release
|
||||||
Fri Nov 09 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
|
Fri Nov 09 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
|
||||||
|
+ bugfix
|
||||||
|
* plugins/pck-update.in - Silvan Calarco:
|
||||||
|
Restore build requirement detection for *.so requirements
|
||||||
|
|
||||||
+ improvement
|
+ improvement
|
||||||
* plugins/spec-create - Davide Madrisan:
|
* plugins/spec-create - Davide Madrisan:
|
||||||
|
@ -2244,7 +2244,7 @@ $(echo $solibpath | sed "s|-[0-9.]*\.so|.so|")"
|
|||||||
echo "\
|
echo "\
|
||||||
#$req: library not reported by ldconfig; run \`ldconfig' and try again"
|
#$req: library not reported by ldconfig; run \`ldconfig' and try again"
|
||||||
fi
|
fi
|
||||||
elif [[ "$req" =~ .*\(.*\) ]]; then
|
elif [[ "$req" =~ .*\(.*\) || "$req" =~ .*\.so ]]; then
|
||||||
# other a(b) requirements
|
# other a(b) requirements
|
||||||
rpm -q --qf %{name} --whatprovides "$req" &>/dev/null &&
|
rpm -q --qf %{name} --whatprovides "$req" &>/dev/null &&
|
||||||
buildreq="$(rpm -q --qf %{name} --whatprovides "$req")" ||
|
buildreq="$(rpm -q --qf %{name} --whatprovides "$req")" ||
|
||||||
|
Loading…
Reference in New Issue
Block a user