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



--- Comment #22 from Andrey Ponomarenko <[email protected]> ---
(In reply to Miroslav Suchý from comment #20)
> (In reply to Igor Gnatenko from comment #18)
> > > BuildRequires: perl
> > 
> > This is not needed.
> 
> Without this BR the command:
>    mock -r fedora-rawhide-x86_64 hw-probe-1.4-1.fc29.src.rpm
> fails with:
> ...
> + /usr/bin/make install
> DESTDIR=/builddir/build/BUILDROOT/hw-probe-1.4-1.fc30.x86_64
> 'INSTALL=/usr/bin/install -p' prefix=/usr
> perl Makefile.pl -install -prefix "/usr"
> Can't locate Getopt/Long.pm in @INC (you may need to install the
> Getopt::Long module) (@INC contains: /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
> Makefile.pl line 25.
> BEGIN failed--compilation aborted at Makefile.pl line 25.
> make: *** [Makefile:9: install] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.CEuaMf (%install)

Added:

BuildRequires: perl(Getopt::Long)

Thank you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to