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

(-)sisyphus_check-0.7.13/sisyphus_check.fix (-1 / +1 lines)
Lines 232-248 check_buildtime() Link Here
232
# check for printable summary, description, etc.
232
# check for printable summary, description, etc.
233
export no_check_printable=
233
export no_check_printable=
234
check_printable()
234
check_printable()
235
{
235
{
236
	[ -z "$no_check_printable" ] || return 0
236
	[ -z "$no_check_printable" ] || return 0
237
	local f="$1" && shift || return 1
237
	local f="$1" && shift || return 1
238
	local text
238
	local text
239
239
240
	text="$rpm_name $rpm_version $rpm_release $rpm_group $rpm_packager $rpm_license $rpm_summary $rpm_description"
240
	text="$rpm_name $rpm_version $rpm_release $rpm_group $rpm_packager $rpm_license $rpm_summary $rpm_description $rpm_changelogname $rpm_changelogtext"
241
241
242
	if [ -n "$(printf %s "$text" |LC_ALL=C tr -d '[:print:][:space:]')" ]; then
242
	if [ -n "$(printf %s "$text" |LC_ALL=C tr -d '[:print:][:space:]')" ]; then
243
		FileError "unprintable package information: $(printf %s "$text" |LC_ALL=C tr -d '[:print:][:space:]')" "$f"
243
		FileError "unprintable package information: $(printf %s "$text" |LC_ALL=C tr -d '[:print:][:space:]')" "$f"
244
		return 1
244
		return 1
245
	fi
245
	fi
246
	return 0
246
	return 0
247
}
247
}
248
248

Return to bug 7626