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

(-)a/rpm-utils/stamp_spec (-1 / +1 lines)
Lines 80-86 if [ "$p" = '%packager' ]; then Link Here
80
	echo 'Configuration error: undefined packager' >&2
80
	echo 'Configuration error: undefined packager' >&2
81
	exit 1
81
	exit 1
82
fi
82
fi
83
d=$(LC_TIME=C date '+%a %b %d %Y')
83
d=$(LC_TIME=C date -u '+%a %b %d %Y')
84
n='%|SERIAL?{%{SERIAL}:}|%{VERSION}-%{RELEASE}'
84
n='%|SERIAL?{%{SERIAL}:}|%{VERSION}-%{RELEASE}'
85
if [ -n "$FORMAT" ]; then
85
if [ -n "$FORMAT" ]; then
86
	qf="$(printf %s "$FORMAT" |sed "s/\$d/$d/g;s/\$p/$p/g;s/\$n/$n/g")"
86
	qf="$(printf %s "$FORMAT" |sed "s/\$d/$d/g;s/\$p/$p/g;s/\$n/$n/g")"

Return to bug 41539