https://bugzilla.redhat.com/show_bug.cgi?id=892597
--- Comment #3 from Petr Ĺ abata psabata@redhat.com --- You'll need to buildrequire the following: - perl (called in spec) - perl(Getopt::Long), ./configure:26 - perl(POSIX), ./configure:27
Don't use absolute paths in your spec. Call perl simply 'perl' (preferred) or use the %{__perl} macro.
Put the installled C header file in a devel subpackage, as mandated by the packaging guidelines.
Since your Summary and %description are identical, consider using the %{summary} macro.
The %check section doesn't run anything and can be dropped.