BuildRequires: redhat-rpm-config

Panu Matilainen pmatilai at
Fri Nov 15 07:01:28 UTC 2013

On 11/15/2013 05:25 AM, Ralf Corsepius wrote:
> On 11/14/2013 06:13 PM, Panu Matilainen wrote:
>> 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:
> I haven't tried, but in my understanding, this change renders it
> impossible to use Fedora's rpm to build non-Fedora rpms

Not impossible, just a bit harder. Which is the other reason I resisted 
the change for quite some time. You now need to replace 
redhat-rpm-config with some other package providing system-rpm-config to 
get around this.

	- Panu -

More information about the devel mailing list