Use new-style date in changelog (with TZ) for Fedora

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-03-16 14:35:25 +01:00
parent dd7e794e51
commit 95c1954a06
No known key found for this signature in database
GPG key ID: 695714BD1BBC5F4C

View file

@ -291,7 +291,7 @@ def main():
else:
kwargs["pkg_release"] = "1%{?dist}"
if args.target == "opensuse":
if args.target in {"opensuse", "fedora"}:
kwargs["date"] = time.strftime("%a %b %d %T %Z %Y")
else:
kwargs["date"] = time.strftime("%a %b %d %Y")