Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=876405

--- Comment #3 from Petr Pisar <[email protected]> ---
(In reply to comment #2)
> (In reply to comment #1)
> > FIX: Remove BuildRequires `perl(ExtUtils::CppGuess)'. It's not needed at
> > build-time.
> It doesn't build without it.
> 
> + ./Build test
> #   Failed test 'use Module::Build::WithXSpp;'
> #   at t/001_load.t line 6.
> #     Tried to use 'Module::Build::WithXSpp'.
> #     Error:  Can't locate ExtUtils/CppGuess.pm...
>
You are right. It's used from lib/Module/Build/WithXSpp.pm:6. Then it must be
build-required.

> > TODO: Filter unversioned `perl(ExtUtils::CppGuess)' run-time dependency.
> > TODO: Filter unversioned `perl(Module::Build)' run-time dependency.
> 
> Could you give me a hint? Because this doesn't work:
> 
> %filter_from_requires /perl(Module::Build)/d
> %filter_from_requires /perl(ExtUtils::CppGuess)/d
> 
It's not yet properly documented, see <https://fedorahosted.org/fpc/ticket/76>,
but should write:

%global __requires_exclude
%{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Build\\)$

It appends extended regular expression which matches symbols to remove from
list or run-requires found by dependency generator.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=LeGpnXuPOv&a=cc_unsubscribe
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to