Description of problem: e.g. /usr/lib/pkgconfig/libempathy.pc has a Requires: pkg-config >= 0.21 and so gets a Requires: pkgconfig(pkg-config) >= 0.21 which can't be satisfied because rebuilding pkgconfig itself doesn't create a Provides: pkgconfig(pkg-config) The pkg-config provides is built-in to pkgconfig i.e. pkgconfig pkg-config --print-provides pkg-config prints pkg-config = 0.23
This is another case that would be handled nice and cleanly by pkg-config providing .pc of itself (see discussion in bug 473814 and https://bugs.freedesktop.org/show_bug.cgi?id=14975) instead of having hidden built-in magic. CC'ing pkgconfig maintainer for comments...
originally posted on bug 473814 comment 15: "It appears that empathy-devel has a Requires of pkgconfig(pkg-config) >= 0.21: http://koji.fedoraproject.org/koji/rpminfo?rpmID=912264 but nothing appears to satisfy that, causing failures of rebuilds of other packages, e.g. desktop-data-model: https://koji.fedoraproject.org/koji/taskinfo?taskID=1021990 " This needs to be fixed ASAP because it is causing a whole chain of deps to fail to rebuild such as desktop-data-model, bigboard and perhaps others.
IMO the cleanest option would be adding a .pc for pkg-config itself. Alternative, truly trivial way is to just add an explicit provide to pkgconfig: Provides: pkgconfig(pkg-config) = %{version} Assigning to pkgconfig for now. Matthias, if neither of the above options are acceptable to you then say so and throw back at rpm. But to fix this in rpm would mean a gross hardwired check on /usr/bin/pkg-config path, on a file thats otherwise "just any old elf binary" to rpm.
I've added an explicit Provides.