On Tue, 2009-10-06 at 17:37 +0300, Panu Matilainen wrote:
Something like that is quite easily doable by adding a RPMTAG_BUGURL tag
extension which grabs its value from macro configuration if set, otherwise
use the contents from the package.
It is out of scope for this discussion though, the question here is about
the default value Fedora packages should have. The BUGURL tag contents is
just a plain old string which is expanded from %bugurl macro at build time
and currently no further processing is done on it.
I think what we would like to avoid is hardcoding it in the binary rpm.
One of the goals of Fedora is to have our rpms used as is in downstream
respins, where it would be inappropriate for the rpm to define our
bugzilla as the bug filing location. But if I get what you're saying
right, you could have it hardcoded in the rpm for a case where it isn't
defined (at least in part) in a macro file on the users's system, and
when there is a macro file that defines it on the users's system, use
that definition instead of the one in the rpm itself. Is that what
you're saying?