https://bugzilla.redhat.com/show_bug.cgi?id=1230488
Bug ID: 1230488 Summary: BuildRequires on gcc not glibc-headers. Product: Fedora Version: rawhide Component: perl-Prima Assignee: ppisar@redhat.com Reporter: codonell@redhat.com QA Contact: extras-qa@fedoraproject.org CC: perl-devel@lists.fedoraproject.org, ppisar@redhat.com
Please replace the BuildRequires: glibc-headers with BuildRequires: gcc. The new Fedora packaging guidelines require you define all the things you need in the buildroot to build [1].
Given that this package has a C library it should BuildRequires: gcc, and that is sufficient to bring in all of the required core C libraries and headers to compile C code.
The reason I'm asking is because glibc-headers may or may not be removed in the future and it isn't sufficient to guarantee the package builds.
[1] https://fedoraproject.org/wiki/Packaging:Guidelines#BuildRequires_2