[Pacemaker] [PATCH 2 of 2] Low: build: fix Requires for libesmtp
Florian Haas
florian.haas at linbit.com
Thu Feb 18 11:38:38 UTC 2010
# HG changeset patch
# User Florian Haas <florian.haas at linbit.com>
# Date 1266490897 -3600
# Branch stable-1.0
# Node ID ebbd9841d03a7b5205a6de4904c9474f5b76c23f
# Parent cc3c3e83e77fbde81186c0b9ca95b08402942092
Low: build: fix Requires for libesmtp
Add a Requires tag for esmtp conditional builds.
diff -r cc3c3e83e77f -r ebbd9841d03a pacemaker.spec
--- a/pacemaker.spec Thu Feb 18 12:01:37 2010 +0100
+++ b/pacemaker.spec Thu Feb 18 12:01:37 2010 +0100
@@ -62,9 +62,12 @@
# Enables optional functionality
BuildRequires: ncurses-devel openssl-devel
BuildRequires: lm_sensors-devel libselinux-devel
+
%if %{with esmtp}
BuildRequires: libesmtp-devel
+Requires: libesmtp
%endif
+
%if %{with snmp}
BuildRequires: net-snmp-devel >= 5.4
Requires: net-snmp >= 5.4
@@ -92,7 +95,7 @@
resource health.
Available rpmbuild rebuild options:
- --without : heartbeat ais snmp
+ --without : heartbeat ais esmtp snmp
%package -n pacemaker-libs
License: GPLv2+ and LGPLv2+
More information about the Pacemaker
mailing list