[rrd-developers] Patch for rrdtool.spec

Bernard Li bernard at vanhpc.org
Sat Jun 7 02:25:50 CEST 2008


Hi all:

I was able to build rrdtool 1.3rc7 on CentOS 4.x, the following patch
gives a more complete BuildRequires for building (I commented out
perl-ExtUtils-MakeMaker since the package does not exist in CentOS):

--- /root/download.d/rrdtool-1.3rc7/rrdtool.spec        2008-05-31
08:57:39.000000000 -0700
+++ ./rrdtool-1.3rc7.spec       2008-06-06 17:00:04.000000000 -0700
@@ -18,8 +18,8 @@
 Patch0: rrdtool-1.2.13-php.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: gcc-c++, openssl-devel, freetype-devel
-BuildRequires: libpng-devel, zlib-devel, cairo-devel
-BuildRequires: perl-ExtUtils-MakeMaker
+BuildRequires: libpng-devel, zlib-devel, cairo-devel >= 1.4.6,
pango-devel >= 1.17, intltool >= 0.35.0
+#BuildRequires: perl-ExtUtils-MakeMaker
 %if "%{?fedora}" >= "7"
 BuildRequires: perl-devel
 %endif

Thanks,

Bernard



More information about the rrd-developers mailing list