[rrd-developers] fix for rrdtool.spec so that it can be used out of the box on RHEL4 and RHEL5

Tobias Oetiker tobi at oetiker.ch
Thu Dec 11 11:03:41 CET 2008


Hi Martin,

> The spec file for building the rrdtool as an RPM that comes with the
> release is not "friendly" to older versions of RHEL and derivatives.
>
> Here the thing needed to fix this:
> Index: rrdtool.spec
> ===================================================================
> --- rrdtool.spec        (revision 1705)
> +++ rrdtool.spec        (working copy)
> @@ -349,8 +349,7 @@
>  %files python
>  %defattr(-,root,root,-)
>  %doc bindings/python/AUTHORS bindings/python/COPYING bindings/python/README
> -%{python_sitearch}/rrdtoolmodule.so
> -%{python_sitearch}/py_rrdtool-*.egg-info
> +%{python_sitearch}/*
>  %endif

I have integrated this into the 1.3 1.2 and trunk repos

> Also I am wondering if it may not be sensible to include the php
> bindings code with rrdtool itself.
> It is currently a separate tar ball, that is needed for building and
> this breaks building via "rpmbuild -ta rrdtool-1.3.99908121014.tar.gz"
> without the option "--define '_without_php 1'"
> (I admit that I can not test building the ruby bindings, so I have to
> include "--define '_without_ruby 1'" anyway. So just an idea...)

the problem is that I am not realy into php and noone has yet
steped up to provide propperly integrated bindings, with configure
and Makefile support ... if someone does this, I am happy to add
them.

cheers
tobi

>
> Cheers,
>              Martin
>
> _______________________________________________
> rrd-developers mailing list
> rrd-developers at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-developers mailing list