diff --git a/rpm-utils/stamp_spec b/rpm-utils/stamp_spec index 6dab7d6..0e337ea 100755 --- a/rpm-utils/stamp_spec +++ b/rpm-utils/stamp_spec @@ -80,7 +80,7 @@ if [ "$p" = '%packager' ]; then echo 'Configuration error: undefined packager' >&2 exit 1 fi -d=$(LC_TIME=C date '+%a %b %d %Y') +d=$(LC_TIME=C date -u '+%a %b %d %Y') n='%|SERIAL?{%{SERIAL}:}|%{VERSION}-%{RELEASE}' if [ -n "$FORMAT" ]; then qf="$(printf %s "$FORMAT" |sed "s/\$d/$d/g;s/\$p/$p/g;s/\$n/$n/g")"