In the current dev, the drbd-peer-outdater is put into /usr/lib/heartbeat.
So we can remove the line "@sbindir@/drbd-peer-outdater" in
heartbeat.spec now. Otherwise, it will stop the rpm build.

On 12/21/06, Lars Ellenberg <[EMAIL PROTECTED]> wrote:
/ 2006-12-20 23:56:57 +0100
\ Lars Ellenberg:
> / 2006-12-20 11:37:28 +0100
> \ Andrew Beekhof:
> > On 12/20/06, Lars Ellenberg <[EMAIL PROTECTED]> wrote:
> > >/ 2006-12-20 10:52:10 +0800
> > >\ Zhen Huang:
> > >> And this causes failure in building the rpms from hg.linux-ha.org/dev.
> > >
> > >I'd love to fix the .spec ...
> > >may I?
> >
> > yes please, while its there it should at least be buildable
>
> I just move the offending thing into /usr/lib/heartbeat...

well, and Alan did add the file to the .spec.in (thanks).
but you want to revert this, or rpm build will fail again,
with a missing /usr/sbin/drbd-peer-outdater, since the
drbd-peer-outdater now gets installed to /usr/lib/heartbeat...

tree 623632425fa2c4c25bf7ed52549ab75a502cbc74
parent 8e386094eff70a98c63a84c05e754cff1f4612ea
author Alan Robertson <[EMAIL PROTECTED]> 1166686887 25200
committer Alan Robertson <[EMAIL PROTECTED]> 1166686887 25200

Added missing entry for new DRBD command.
diff --git a/heartbeat.spec.in b/heartbeat.spec.in
--- a/heartbeat.spec.in Wed Dec 20 13:33:45 2006
+++ b/heartbeat.spec.in Thu Dec 21 07:41:27 2006
@@ -1418,6 +1418,7 @@
 @sbindir@/attrd_updater
 @sbindir@/crm_failcount
 @sbindir@/crm_sh
[EMAIL PROTECTED]@/drbd-peer-outdater
 %dir %attr (755, @HA_CCMUSER@, @HA_APIGROUP@) @HA_VARRUNDIR@/@HB_PKG@/ccm
 %dir %attr (750, @HA_CCMUSER@, @HA_APIGROUP@) @HA_VARRUNDIR@/@HB_PKG@/crm
 %dir %attr (750, @HA_CCMUSER@, @HA_APIGROUP@) @localstatedir@/lib/@HB_PKG@/crm


--
: Lars Ellenberg                            Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/



--
Best Regards,
Huang Zhen (zhenh)
http://www.linux-ha.org/HuangZhen
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to