Rpmbuild-order sort doesn't support "BuildRequires: pkgconfig()" in rpm spec

rpmbuild-order sort
It’ll output two spec files with its build order according to analyze spec build dependency “BuildRequires”

But it cannot handle for case “BuildRequires: pkgconfig(xxx)”, such as “BuildRequires: pkgconfig(protobuf)”

If it’s possible to support “BuildRequires: pkgconfig(xxx)” only by analyze spec files ?

When reporting a problem, please include relevant build log URL(s) so that we can help you better.

Thanks.

$rpmbuild-order sort mylib mycore
mycore
mylib

mylib/mylib.spec include following lines:
%files devel
%{_libdir}/pkgconfig/libmylib.pc

mycore/mycore.spec include following lines:
BuildRequires: pkgconfig(libmylib)

The correct order shall be:
mylib
mycore

But the result is:
mycore
mylib

Sorry, but that’s not a build log URL.

Imprint