[opensuse-buildservice] Dependency resolution help
Hi, I am trying to resolve a dependency problem and could use some help. I am trying to get home:rjschwei:perl-test-subcalls to build, this package depends on perl-Hook-LexWrap which is being built in home:rjschwei:perl-hook-lexwrap. I have the following in my spec file (perl-Test-SubCalls.spec) Requires: perl-Hook-LexWrap >= 0.20 And according to the Tips & Tricks page for the build service I added the following to the meta data: <path repository="openSUSE_11.1" project="home:rjschwei:perl-hook-lexwrap"/> and <path repository="openSUSE_Factory" project="home:rjschwei:perl-hook-lexwrap"/> for openSUSE 11.1 and openSUSE factory, respectively. Yet when I attempt to build the perl-Test-SubCalls package I still get the following in the build log. + perl Makefile.PL Warning: prerequisite Hook::LexWrap 0.20 not found. The result is that the tests fail. What else do I need to do to get the perl-Hook-LexWrap package properly installed into the build environment? Does this also need to show up in BuildRequires? Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU Software Engineer Consultant LINUX rschweikert@novell.com 781-464-8147 Novell Making IT Work As One -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Oct 14, 2009 at 10:52:44AM -0400, Robert Schweikert wrote:
What else do I need to do to get the perl-Hook-LexWrap package properly installed into the build environment? Does this also need to show up in BuildRequires?
Yes, just add BuildRequires: perl-Hook-LexWrap so that the system knows that it has to install the package. "Requires" just specifies a run time dependency, i.e. a package that the built package needs for working. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Michael Schroeder
-
Robert Schweikert