On Tue, Nov 02, 2010 at 09:43:56AM -0600, Greg Woods wrote:
> On Tue, 2010-11-02 at 11:11 +0100, Dejan Muhamedagic wrote:
> 
> > If you're using resource-agents, the package should be named
> > ldirectord not heartbeat-ldirectord. The two packages should also
> > have the same release numbers, probably something like 1.0.3-x.
> 
> I figured as much. But there appears to be a problem with the ldirectord
> package from clusterlabs, as explained in an earlier message from
> Masashi Yamaguchi <[email protected]>:
> 
> 
> > think "ldirectord" rpm package's spec for RedHat/CentOS is
> > inconsistent.
> > 
> > $ rpm -qp --provides ldirectord-1.0.3-2.el5.x86_64.rpm
> > config(ldirectord) =3D 1.0.3-2.el5
> > heartbeat-ldirectord
> > ldirectord =3D 1.0.3-2.el5
> > $ rpm -qp --conflicts ldirectord-1.0.3-2.el5.x86_64.rpm
> > heartbeat-ldirectord
> > $
> > 
> > "ldirectord" package PROVIDES "heartbeat-ldirectord" and
> > CONFLICTS with "heartbeat-ldirectord".
> > "ldirectord" package' spec has self-conflict.
> > 
> > This is a patch for the problem.
> > --- resource-agents.spec
> > +++ resource-agents.spec
> > @@ -71,7 +71,6 @@
> >  Requires:       %{SSLeay} perl-libwww-perl ipvsadm
> >  Provides:      heartbeat-ldirectord
> >  Obsoletes:     heartbeat-ldirectord
> > -Conflicts:     heartbeat-ldirectord
> >  Requires:      perl-MailTools
> >  %if 0%{?suse_version}
> >  Requires:       logrotate

That's incorrect, to the best of my knowledge.
Though I'm certainly not an RPM wizard.

That seems to be "standard procedure" for package name changes.

package used to be named some-package,
package is renamed to other-package.
other-package now provides, obsoletes, and conflicts with some-package.

If you have a good pointer to some rpm packaging doc saying otherwise,
please let us know.


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to