[PATCH] build: iwhd "Requires" mongodb-server (rather than BuildRequires)
Jim Meyering
jim at meyering.net
Tue Jan 4 10:50:31 UTC 2011
Running iwhd on a new system, I noticed that
mongodb-server was misclassified as a build requirement.
It's a run-time requirement that (unlike libraries)
cannot be deduced from the use of a build-required package.
Here's the fix:
>From 1912f449225f380f82968780ccffadfab156ef66 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Tue, 4 Jan 2011 11:45:29 +0100
Subject: [PATCH] build: iwhd "Requires" mongodb-server (rather than BuildRequires)
* iwhd.spec.in (Requires): mongodb-server is a run-time
requirement, not a build requirement.
---
iwhd.spec.in | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/iwhd.spec.in b/iwhd.spec.in
index 2b28b53..0dea5f6 100644
--- a/iwhd.spec.in
+++ b/iwhd.spec.in
@@ -28,9 +28,10 @@ BuildRequires: bison
BuildRequires: flex
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: mongodb-server
BuildRequires: help2man
+Requires: mongodb-server
+
%description
Deltacloud image-warehouse daemon
--
1.7.3.4
More information about the iwhd-devel
mailing list