|
From: Jeremy L. <jla...@re...> - 2011-09-13 01:01:15
|
On Tue, Sep 13, 2011 at 1:48 AM, Buchan Milne <bg...@st...> wrote: > Well, I am using the Mandriva package, which I maintain, on platforms > including RHEL. But, I don't see a point in spending more effort on it > myself > when RH doesn't have equivalents of or implementations of useful Mandriva > generically named macros (%_pre_useradd, %_post_service). > [snip] > I can possibly add conditional definitions of versions of these macros that > work on RH-based distros. > Hmm. Looks like Mandriva has several special macros that aren't present on other distros, and so does Redhat. I'm beginning to think that the effort in trying to support multiple distros in the one spec file exceeds the benefit, and instead, perhaps we should maintain separate spec files. The spec files could be included in the source tree under extras, named redhat.spec, mandriva.spec and suse.spec? That way, anyone can fetch the tarball and build a package. Having said that, I'm happy to continue working towards a single spec file, if that's your preferred option. > Since I have a repo for RHEL/Centos, which I know other users have used, it > would avoid upgrade issues if there are any differences: > > http://staff.telkomsa.net/packages/Xymon.repo > http://staff.telkomsa.net/packages/rhel5/hobbit/noarch/ The spec file you have for this packages makes use of %_pre_useradd and %_post_service. Do you have a customized macro file to support this? Cheers Jeremy |