fix build problems
This commit is contained in:
parent
4d749cad91
commit
c9debe9723
27
0001-build-Remove-nss-nspr-checks-from-autoconf.patch
Normal file
27
0001-build-Remove-nss-nspr-checks-from-autoconf.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From ff12e705744a4f5a525c7a64cd22ca358a43daaa Mon Sep 17 00:00:00 2001
|
||||||
|
From: Marek 'marx' Grac <mgrac@redhat.com>
|
||||||
|
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
|
||||||
|
|
@ -16,11 +16,12 @@
|
|||||||
Name: fence-agents
|
Name: fence-agents
|
||||||
Summary: Fence Agents for Red Hat Cluster
|
Summary: Fence Agents for Red Hat Cluster
|
||||||
Version: 4.0.7
|
Version: 4.0.7
|
||||||
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
|
Release: 2%{?alphatag:.%{alphatag}}%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sourceware.org/cluster/wiki/
|
URL: http://sourceware.org/cluster/wiki/
|
||||||
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.xz
|
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}
|
%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
|
%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
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
%patch0 -p1 -b .build1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{configure} --with-agents='%{supportedagents} %{testagents}'
|
%{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*
|
%{_mandir}/man8/fence_wti.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Feb 17 2014 Marek Grac <mgrac@redhat.com> - 4.0.7-1
|
* Mon Feb 17 2014 Marek Grac <mgrac@redhat.com> - 4.0.7-2
|
||||||
- new upstream release
|
- new upstream release
|
||||||
- changed dependancy from nss/nspr to gnutls-utils
|
- changed dependancy from nss/nspr to gnutls-utils
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user