| |
@@ -310,7 +310,9 @@
|
| |
kwargs["date"] = time.strftime("%a %b %d %T %Z %Y")
|
| |
else:
|
| |
kwargs["date"] = time.strftime("%a %b %d %Y")
|
| |
- kwargs["packager"] = detect_packager()
|
| |
+ packager_identity = detect_packager()
|
| |
+ if packager_identity is not None:
|
| |
+ kwargs["packager"] = packager_identity
|
| |
|
| |
if metadata.license is not None:
|
| |
license, comments = licensing.translate_license(args.target, metadata.license)
|
| |
Setting 'None' to the 'packager' field caused generated
spec files to have the packager identity of "None" instead
of using the fallbacks as specified in the spec template.
This adjustment makes the spec template fallbacks for the
packager identity work as expected.
Fixes #73.
Signed-off-by: Neal Gompa ngompa13@gmail.com