[Bug 1306593] New: Missing dependency on perl(Test::More)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1306593

            Bug ID: 1306593
           Summary: Missing dependency on perl(Test::More)
           Product: Fedora
           Version: rawhide
         Component: perl-Gtk2
          Assignee: tcallawa@xxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    tcallawa@xxxxxxxxxx



Perl Gtk2 packages like perl-Gtk2-TryIcon or perl-Gtk2-Sexy fail to build
because perl-Gtk2 does not run-require perl(Test::More):

Can't locate Test/More.pm in @INC (you may need to install the Test::More
module) (@INC contains: /builddir/build/BUILD/Gtk2-TrayIcon-0.06/blib/lib
/builddir/build/BUILD/Gtk2-TrayIcon-0.06/blib/arch /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/usr/lib64/perl5/vendor_perl/Gtk2/TestHelper.pm line 8.

This is because perl-Gtk2 explicitly filters Test and Glib from requires:

%global __requires_exclude perl\\(Glib\\)|perl\\(Test::

The filter must be removed.

If the motivation is that any Perl Gtk2 application would pull in Test::More,
then the solution is to move the Gtk2::TestHelper into a subpackage.

If you don't object I can do it.

Tested with perl-Gtk2-1.2498-1.fc24.x86_64.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux