[Bug 810865] New: Circular build dependency in perl-Dancer-1.3093-1.fc18

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

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: Circular build dependency in perl-Dancer-1.3093-1.fc18

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

           Summary: Circular build dependency in perl-Dancer-1.3093-1.fc18
           Product: Fedora
           Version: rawhide
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: perl-Dancer
        AssignedTo: mmaslano@xxxxxxxxxx
        ReportedBy: paul@xxxxxxxxxxxx
         QAContact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: jpo@xxxxxxxxxxxx, fedora-perl-devel-list@xxxxxxxxxx,
                    mmaslano@xxxxxxxxxx
    Classification: Fedora
      Story Points: ---
              Type: Bug
        Regression: ---
        Mount Type: ---
     Documentation: ---


perl-Dancer has an optional test dependency of perl(Dancer::Session::Cookie) >=
0.14, which pulls in perl-Dancer-Session-Cookie. However, that requires
perl-Dancer itself and thus introduces a circular dependency. Suggested fix -
wrap that buildreq with a %perl_bootstrap conditional:

diff --git a/perl-Dancer.spec b/perl-Dancer.spec
index c7ee3be..04084a9 100644
--- a/perl-Dancer.spec
+++ b/perl-Dancer.spec
@@ -62,7 +62,10 @@ BuildRequires:  perl(Test::Builder)
 BuildRequires:  perl(URI::Escape)
 # Optional tests:
 BuildRequires:  perl(HTTP::Parser::XS)
+# Dancer::Session::Cookie needs Dancer itself
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(Dancer::Session::Cookie) >= 0.14
+%endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo
$version))
 Requires:       perl(HTTP::Body) >= 1.07
 Requires:       perl(HTTP::Server::Simple::PSGI) >= 0.11

I tested this on F-17 as mod_perl is pulled in as a buildreq and it's currently
uninstallable in Rawhide.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- 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
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[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