#10 minor enhancement of the help text of rpmdev-packager
Closed: Fixed Opened by chkr.

I was looking for some information how rmpdev-packager gets its data. Unfortunately --help (and so the man page) did not reveal anything helpful. So I had to check the sources in order to figure this out.

I've just wrote a small patch to enhance the help text for this utility to be a little bit more descriptive. Please note that the newlines are necessary otherwise it looks bad in the auto-generated man page:

{{{
diff --git a/rpmdev-packager b/rpmdev-packager
index 5a4a2ba..80ab86f 100755
--- a/rpmdev-packager
+++ b/rpmdev-packager
@@ -50,6 +50,21 @@ Usage: rpmdev-packager [option]...
Options:
-h, --help Show this usage message and exit.
-v, --version Print version information and exit.
+
+The following ressources are used to determine the packager info:
+
+\$RPM_PACKAGER full name and email address
+
+/etc/rpm/macros.* (%packager) full name and email address
+
+~/.rpmmacros (%packager) full name and email address
+
+/etc/passwd full name
+
+~/.fedora.cert email address
+
+\$MAILTO email address
+
EOF
}

}}}


Thanks, a similar patch is now applied in git.

Metadata