ALT Linux Bugzilla
– Attachment 10046 Details for
Bug 41539
FR: stamp_spec должен определять дату в UTC
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
получать дату в UTC.
timestamp-utc.patch (text/plain), 478 bytes, created by
Антон Мидюков
on 2021-12-09 12:08:13 MSK
(
hide
)
Description:
получать дату в UTC.
Filename:
MIME Type:
Creator:
Антон Мидюков
Created:
2021-12-09 12:08:13 MSK
Size:
478 bytes
patch
obsolete
>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")"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41539
: 10046