Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37907266
en ru br
ALT Linux repos
S:2.0.13-alt1
5.0: 1.5.15-alt1
4.1: 1.5-alt1
4.0: 1.5-alt1

Group :: System/Libraries
RPM: klibc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#!/bin/sh -efu
file=
handler()
{
local rc=$?
trap - EXIT
[ -z "$file" ] || rm -f -- "$file"
exit $rc
}
trap handler EXIT HUP INT QUIT PIPE TERM
file=`mktemp -t find-provides.XXXXXXXXXX`

ProcessFile()
{
local f="$1" && shift

[ -f "$f" ] || return 0
local fname="${f#$RPM_BUILD_ROOT}"
fname="${fname#.}"
if [ -z "${fname##/lib/klibc-*.so}" ] ||
[ -z "${fname##/lib64/klibc-*.so}" ]; then
printf '%s\n' "$fname" >>"$file"
fi
}

(
while IFS= read -r f; do
printf '%s\n' "$f"
ProcessFile "$f"
done
) | "$@"

LC_ALL=C sort -u < "$file"
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin