threads / patch / 30164

patchspec: add missing build dependency

Subject: [PATCH RESEND] spec: add missing build dependency

## tl;dr

2 messages between Apr 6, 2012 and Apr 6, 2012. Diffs are folded; open one to read it.

replies: 1people: 1as markdown or json

Felipe Contreras· Apr 6, 2012, 12:22 UTC · lore
Otherwise:

/usr/bin/perl Makefile.PL PREFIX='/opt/git' INSTALL_BASE='' Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1. make[1]: *** [perl.mak] Error 2 make: *** [perl/perl.mak] Error 2

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 git.spec.in |    1 +
 1 file changed, 1 insertion(+)
Show changes to git.spec.in +1 −0
diff --git a/git.spec.in b/git.spec.in
index b93df10..d61d537 100644
--- a/git.spec.in
+++ b/git.spec.in
@@ -101,6 +101,7 @@ Group:          Development/Libraries
 Requires:       git = %{version}-%{release}
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildRequires:  perl(Error)
+BuildRequires:  perl(ExtUtils::MakeMaker)
 
 %description -n perl-Git
 Perl interface to Git
-- 
1.7.9.6
Felipe Contreras· Apr 6, 2012, 12:33 UTC · re: Felipe Contreras · lore

Re: [PATCH RESEND] spec: add missing build dependency

2012/4/6 Felipe Contreras <felipe.contreras@gmail.com>:
Show 9 quoted lines
> Otherwise:
>
> /usr/bin/perl Makefile.PL PREFIX='/opt/git' INSTALL_BASE=''
> Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at Makefile.PL line 1.
> BEGIN failed--compilation aborted at Makefile.PL line 1.
> make[1]: *** [perl.mak] Error 2
> make: *** [perl/perl.mak] Error 2
>
> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>

You might want to reply to this message to avoid non-existing recipient warnings.

Cheers.
-- 
Felipe Contreras

← back to recent threads