.. and yet another one:
Use PACKAGE_BUGREPORT in rpmrc.c's error messages.
Background: autoconf supplies a define (PACKAGE_BUGREPORT) which can be
used to provide an email-address for bug reporting. So far, rpmrc.c
sources used a hard-coded addresses instead.
This had caused i18n'ed strings (po/*) to contain different email
addresses for bug reporting. The patch changes this behavior into a the
i18n'ed strings to use the address as a string.
Attention: Run
cd po
make update-po
and check the resulting diff after applying this patch.
Ralf
diff -r 9f3741c4c201 lib/rpmrc.c
--- a/lib/rpmrc.c Mon Aug 06 12:58:45 2007 +0300
+++ b/lib/rpmrc.c Mon Aug 06 10:03:42 2007 +0200
@@ -1562,7 +1562,7 @@ static void getMachineInfo(int type, /*@
if (tables[currTables[type]].hasCanon) {
rpmMessage(RPMMESS_WARNING, _("Unknown system: %s\n"), current[type]);
- rpmMessage(RPMMESS_WARNING, _("Please contact [EMAIL PROTECTED]"));
+ rpmMessage(RPMMESS_WARNING, _("Please contact %s\n"), PACKAGE_BUGREPORT);
}
}
}
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint