BuildRequires: redhat-rpm-config

Panu Matilainen pmatilai at laiskiainen.org
Thu Nov 14 17:13:19 UTC 2013


On 11/14/2013 05:45 PM, Adam Jackson wrote:
> On Thu, 2013-11-14 at 08:56 +0000, Richard W.M. Jones wrote:
>
>>   - Is this a bug in redhat-rpm-config/Python/RPM/Fedora?
>
> Yes.  People hit this _constantly_ in a lot of ways.  Like "why am I not
> getting debuginfo packages".  The theory is that you might want to build
> with some other set of macros, which is why rpmbuild doesn't just
> require r-r-c.
>
> I think this is foolish, and that we should just fix rpmbuild: if you
> wanted some other set of macros, start by rebuilding rpm to require
> something other than r-r-c.  The counter-argument is - and I find this
> completely baffling - that it's easier to replace packages than rebuild
> them, so that instead rpmbuild should Require: system-rpm-config and
> then r-r-c happens to be what provides that by default.  Which, sure,
> that's also a thing we could do.

Well, technically rpmbuild does NOT require redhat-rpm-config to 
function, building "Fedora compliant" packages does. Anyway, I got tired 
of this argument in March, so Fedora >= 20 has this:

http://pkgs.fedoraproject.org/cgit/rpm.git/commit/?id=6fb2566e2d6d8b2e29e9f671bf9f157de25e9908

	- Panu -


More information about the devel mailing list