rust2rpm: use changelog timestamp without time and timezone on Fedora

This commit is contained in:
Fabio Valentini 2021-07-12 15:32:15 +02:00
parent f52cbe0232
commit d7b59b3757
No known key found for this signature in database
GPG key ID: 5AC5F572E5D410AF

View file

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