[Pacemaker] [PATCH] Build: fix fedora package interdependencies

Andrew Beekhof andrew at beekhof.net
Fri Dec 3 02:17:16 EST 2010


Libraries we link against are automatically added as dependancies by
rpm, there's no need (and it is discouraged) to list them explicitly

On Thu, Dec 2, 2010 at 4:09 PM, Vadym Chepkov <vchepkov at gmail.com> wrote:
> # HG changeset patch
> # User Vadym Chepkov <vchepkov at gmail.com>
> # Date 1291302502 18000
> # Branch stable-1.0
> # Node ID b517ca7d84e972e10e1013faff00fa6fd430a165
> # Parent  b2e39d318fda501e2fcf223c2d039b721f3679a9
> Build: fix fedora package interdependencies
>
> diff --git a/pacemaker.spec b/pacemaker.spec
> --- a/pacemaker.spec
> +++ b/pacemaker.spec
> @@ -85,10 +85,12 @@
>
>  %if %{with ais}
>  BuildRequires: corosynclib-devel
> +Requires:      corosynclib
>  %endif
>
>  %if %{with heartbeat}
> -BuildRequires: heartbeat-devel heartbeat-libs
> +BuildRequires: heartbeat-devel
> +Requires:      heartbeat-libs
>  %endif
>
>  %description
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>




More information about the Pacemaker mailing list