[Linux-HA] superfluous dependency in heartbeat spec file
Nikita Michalko
michalko.system at a-i-p.com
Thu Oct 21 03:09:37 MDT 2010
Hi Vadym,
can I apply this also on SLES10/SLES11 ?
TIA
Nikita Michalko
Am Dienstag, 12. Oktober 2010 14:29 schrieb Vadym Chepkov:
> It was brought up in pacemaker mail list but this applies to heartbeat rpm
> packaging as well. Libraries do not depend on "base" package, they are
> independent.
> This is how one can install several version of the same library (compat-
> packages) Also it is possible to use heartbeat libraries without using
> heartbeat daemon itself. (if one uses pacemaker with corosync, for
> instance).
>
> Vadym
>
> # HG changeset patch
> # User Vadym Chepkov <vchepkov at gmail.com>
> # Date 1286886305 14400
> # Node ID f1aea427d2c01756e06b4b917787c21ee440f24b
> # Parent 82fc843fbcf9733e50bbc169c95e51b6c7f97c54
> Fix package inter-dependencies
>
> diff -r 82fc843fbcf9 -r f1aea427d2c0 heartbeat-fedora.spec
> --- a/heartbeat-fedora.spec Mon Oct 04 22:12:37 2010 +0200
> +++ b/heartbeat-fedora.spec Tue Oct 12 08:25:05 2010 -0400
> @@ -40,6 +40,7 @@
> BuildRequires: which
> BuildRequires: cluster-glue-libs-devel
> BuildRequires: libxslt docbook-dtds docbook-style-xsl
> +Requires: heartbeat-libs = %{version}-%{release}
> Requires: PyXML
> Requires: resource-agents
> Requires: cluster-glue-libs
> @@ -81,7 +82,6 @@
> %package libs
> Summary: Heartbeat libraries
> Group: System Environment/Daemons
> -Requires: heartbeat = %{version}-%{release}
>
> %description libs
> Heartbeat library package
> @@ -89,7 +89,7 @@
> %package devel
> Summary: Heartbeat development package
> Group: System Environment/Daemons
> -Requires: heartbeat = %{version}-%{release}
> +Requires: heartbeat-libs = %{version}-%{release}
>
> %description devel
> Headers and shared libraries for writing programs for Heartbeat
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA
mailing list