https://bugzilla.redhat.com/show_bug.cgi?id=978010
--- Comment #1 from Petr Ĺ abata psabata@redhat.com --- Ok, the deps are all wrong :)
What you actually need to BR: perl, perl(Exporter), perl(lib), perl(strict), perl(Wx::build::MakeMaker), and wxGTK-devel
ExtUtils::MakeMaker is only used if Wx::build::MakeMaker is not present. Alien::wxWidgets and Wx are not required for build in your case.
I don't understand how the package builds without the wx/* files since they're all included in GLCanvas.xs. Could you explain that? Also, why do you remove the directory?
You'll need to buildrequire many more modules in the %{?with_tests} conditional block: perl(base), lib/Wx/GLCanvas.pm:17 perl(Test::More), t/zz_pod.t:4 perl(Wx), lib/Wx/GLCanvas.pm:16 perl(Wx::ScrolledWindow), lib/Wx/GLCanvas.pm:17
Protip: You could use Test::NeedsDisplay to provide an Xvfb display for the tests, running them everywhere, every time. https://metacpan.org/module/ADAMK/Test-NeedsDisplay-1.07/lib/Test/NeedsDispl...