[PATCH] build: iwhd "Requires" mongodb-server (rather than BuildRequires)

Jim Meyering jim at meyering.net
Tue Jan 4 16:03:49 UTC 2011


Pete Zaitcev wrote:
> On Tue, 04 Jan 2011 11:50:31 +0100
> Jim Meyering <jim at meyering.net> wrote:
>
>> It's a run-time requirement that (unlike libraries)
>> cannot be deduced from the use of a build-required package.
>
>> +++ b/iwhd.spec.in
>> -BuildRequires: mongodb-server
>> +Requires: mongodb-server
>
> This is wrong twice. First, "make check" needs mondgo. Second,

I knew that "make check" needs mongodb.
I should have known that "make check"-required things count as "Build"
requirements.

> mongo can be installed on a different host or VM, so it should not
> be a pre-requisite for iwhd installation. Please revert.

Done.


More information about the iwhd-devel mailing list