Boost logo

Boost :

From: Neal D. Becker (nbecker_at_[hidden])
Date: 2003-03-13 08:40:11


On Thursday 13 March 2003 08:02 am, Joel Young wrote:
> > "Neal D. Becker" <nbecker_at_[hidden]>
> > I reported this. A simple workaround, just remove the dependency from
> > the .spec file.
> >
> > IIRC, it was libpython-devel. This is called python-devel on RH8. My
> > suggestion, just remove it from Requires:.
>
> Just put a %if block in the .spec. I don't have time, but there should
> be some rpm macro or other identifying condition on RH8 for the if check
> below
>
> %if some condition identifying redhat
> Requires: python-devel
> %else
> Requires: libpython-devel
> %endif
>

I don't offhand know how to do this, and as far as I can tell, it isn't really
necessary to have this line at all. So, unless I'm misunderstanding
something (which is certainly possible) the simpler solution is just remove
it. Otherwise a big segment of your user base (redhat) will be effectively
lost. (I doubt many who would otherwise install an srpm would feel
comfortable to fiddle with unpacking it and editing the spec file)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk