From 56c4b37fe4ae935b5726fe1022de5a1fc1af24ab Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 16 Mar 2005 13:45:32 +0000 Subject: [PATCH] Clifford Wolf: Added [PROVIDES] tag to .cache files (needed for upcoming -fPIC hack) [2005030418151906821] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5736 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- scripts/Build-Pkg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/Build-Pkg b/scripts/Build-Pkg index 9c80d2d4f..0d7574068 100755 --- a/scripts/Build-Pkg +++ b/scripts/Build-Pkg @@ -434,6 +434,11 @@ if [ $this_is_the_2nd_run = 0 ] ; then echo fi + cat $root/var/adm/flists/$xpkg{,:*} 2> /dev/null | \ + sed -r '\,(bin/[^/]+|lib/lib[^/]+\.(so|a))$, { s,.*/,,; p; };d' | \ + sort -u | fmt -w65 | sed 's,^,[PROVIDES] ,' + echo + for stagelevel in 0 1 2 3 4 5 6 7 8 9 ; do x="$root/var/adm/logs/$stagelevel-$xpkg.err" if [ -f "$x" ] ; then