On Mon, 21 May 2007, Matthew Albright wrote:
To get heartbeat 2.0.8 to build successfully for me on CentOS5, I needed to add a few BuildRequires to the spec file.
...
@@ -21,7 +21,7 @@ BuildPrereq: glib-devel, perl, iputils, /usr/bin/ssh, openssl-devel, libnet # libnet available from www.ultramonkey.org and others Requires: sysklogd, heartbeat-stonith = %{version}-%{release}, heartbeat-pils = %{version}-%{release} -BuildRequires: libgcrypt-devel, lm_sensors-devel, net-snmp-devel +BuildRequires: libgcrypt-devel, lm_sensors-devel, net-snmp-devel, glib2-devel, python-devel, pam-devel, gnutls-devel, curses-devel
I'd suggest that you list those as:
+BuildRequires: glib2-devel +BuildRequires: python-devel +BuildRequires: pam-devel +BuildRequires: gnutls-devel +BuildRequires: ncurses-devel
Makes for much more readable diffs.