Description of problem:
I have installed fresh Fedora 10.x86_64 just with minimal set of packages (every checkbox in the installer was cleared). Then installed rpm-build (among other packages) and run rpmbuild --rebuild on one of my packages. To my surprise no -debuginfo package was build. After discussion on the internal IRC somebody suggested installing redhat-rpm-config. THat helped.
Why isn't redhat-rpm-config installed automagically whenever rpm-build is?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
no -debuginfo packages are built
they should be
Why should this strictly *depend* on rpm-build? Maybe some people would like to build *without* -debuginfo packages. If there's a dependency that won't be a problem. Or maybe they have their own config package that does things differently.
I think what's needed is better documentation. I had to DAFS to figure this one out when I had the issue.
*** Bug 506915 has been marked as a duplicate of this bug. ***
Building packages "the Fedora way" requires having redhat-rpm-config installed, but rpm (including rpmbuild) doesn't require it to function and there are perfectly valid use-cases where you would *not* want redhat-rpm-config installed. Request it to be added to core/base group in comps if you want but having rpmbuild require redhat-rpm-config would be wrong when it's not a strict requirement.
I'd like to have redhat-rpm-config in core/base group because of this problem.
Bill, any plans to add redhat-rpm-config to core or base?
That would conflict with the other bug w.r.t. removing perl deps from base.
It's installed in all the same groups as rpm-build; that's the best we can do for now.
*** Bug 580619 has been marked as a duplicate of this bug. ***
As I said on the list:
Someone building non-fedora/non-epel rpms should be expected to create
their own version of foo-rpm-config that satisfies/obsoletes the same
dependancy as redhat-rpm-config.
group names are no replacements for proper dependancies. People who
build rpms need to be able to "yum install rpmbuild" and get a working
setup. They should not need to spend an hour googling on why their
debuginfo packages don't get build.
If people wish to leave out the dependancy, which I believe is wrong, then they should ensure we get a clearer error on why debuginfo packages are failing to be built, and provide a hint to the user to perhaps install redhat-rpm-config
+1 for adding it to @base.