diff --git a/0001-build-Remove-nss-nspr-checks-from-autoconf.patch b/0001-build-Remove-nss-nspr-checks-from-autoconf.patch new file mode 100644 index 0000000..998c2a3 --- /dev/null +++ b/0001-build-Remove-nss-nspr-checks-from-autoconf.patch @@ -0,0 +1,27 @@ +From ff12e705744a4f5a525c7a64cd22ca358a43daaa Mon Sep 17 00:00:00 2001 +From: Marek 'marx' Grac +Date: Mon, 17 Feb 2014 16:49:18 +0100 +Subject: [PATCH] [build] Remove nss/nspr checks from autoconf + +--- + configure.ac | 4 ---- + 1 files changed, 0 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 510347e..eaef1d8 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -83,10 +83,6 @@ check_lib_no_libs() { + LIBS=$ac_check_lib_save_LIBS + } + +-# external libs +-PKG_CHECK_MODULES([nss],[nss]) +-PKG_CHECK_MODULES([nspr],[nspr]) +- + # Checks for header files. + AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h netdb.h stddef.h sys/socket.h sys/time.h syslog.h]) + +-- +1.7.7.6 + diff --git a/fence-agents.spec b/fence-agents.spec index 9ab4839..0bc4eec 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -16,11 +16,12 @@ Name: fence-agents Summary: Fence Agents for Red Hat Cluster Version: 4.0.7 -Release: 1%{?alphatag:.%{alphatag}}%{?dist} +Release: 2%{?alphatag:.%{alphatag}}%{?dist} License: GPLv2+ and LGPLv2+ Group: System Environment/Base URL: http://sourceware.org/cluster/wiki/ Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.xz +Patch0: 0001-build-Remove-nss-nspr-checks-from-autoconf.patch %if 0%{?fedora} %global supportedagents alom amt apc apc_snmp bladecenter brocade cisco_mds cisco_ucs drac5 eaton_snmp eps hpblade ibmblade ifmib ilo ilo_mp intelmodular ipdu ipmilan kdump ldom lpar netio ovh rhevm rsa rsb scsi vmware_soap wti @@ -51,6 +52,7 @@ BuildRequires: perl(Pod::MinimumVersion) %prep %setup -q -n %{name}-%{version} +%patch0 -p1 -b .build1 %build %{configure} --with-agents='%{supportedagents} %{testagents}' @@ -547,7 +549,7 @@ The fence-agents-wti package contains a fence agent for WTI network power switch %{_mandir}/man8/fence_wti.8* %changelog -* Mon Feb 17 2014 Marek Grac - 4.0.7-1 +* Mon Feb 17 2014 Marek Grac - 4.0.7-2 - new upstream release - changed dependancy from nss/nspr to gnutls-utils