[rrd-developers] Patch for rrdtool.spec
Jarod Wilson
jwilson at redhat.com
Sat Jun 7 02:57:50 CEST 2008
On Friday 06 June 2008 08:25:50 pm Bernard Li wrote:
> 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
The spec could probably stand to have some additional conditionals in it for
el4/el5/other vendor's rpm-based distros/etc., but perl-ExtUtils-MakeMaker is
definitely needed as a BR: for all currently-supported-by-the-Fedora-Project
Fedora releases (F7 for another week, F8, F9 and rawhide). Might want to
coordinate that with Chris Ricker, who recently took over Fedora/EPEL
maintainership of rrdtool from me.
--
Jarod Wilson
jwilson at redhat.com
More information about the rrd-developers
mailing list