View | Details | Raw Unified | Return to bug 6860
Collapse All | Expand All

(-)static.req-orig (-1 / +6 lines)
Lines 2-7 Link Here
2
2
3
. /usr/lib/rpm/functions
3
. /usr/lib/rpm/functions
4
4
5
NoArch()
6
{
7
	[ "$(rpmquery --qf '%{NAME}\n' -f -- "$1")" == "noarch" ]
8
}
9
5
StaticReq()
10
StaticReq()
6
{
11
{
7
	local f="$1"; shift
12
	local f="$1"; shift
Lines 12-18 Link Here
12
17
13
	case "$name" in
18
	case "$name" in
14
		glibc*) return 0 ;;
19
		glibc*) return 0 ;;
15
		*-devel-static) echo glibc-devel-static ;;
20
		*-devel-static) NoArch "$f" || echo glibc-devel-static ;;
16
		*) Verbose "package $name has static library ${f#${RPM_BUILD_ROOT-}}" ;;
21
		*) Verbose "package $name has static library ${f#${RPM_BUILD_ROOT-}}" ;;
17
	esac
22
	esac
18
}
23
}

Return to bug 6860