File 0001-Drop-python-from-build-system-since-nothing-uses-it.patch of Package resource-agents

From 0a4a95b6e525ae867aa989b8448b8d2459116f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <krig@koru.se>
Date: Wed, 17 Jan 2018 16:48:54 +0100
Subject: [PATCH] Drop python from build system since nothing uses it

There's no need to require python when it isn't actually used.
---
 configure.ac              | 1 -
 heartbeat/ocf-binaries.in | 1 -
 resource-agents.spec.in   | 2 +-
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6302fe75..faa3db97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -470,7 +470,6 @@ dnl ===============================================
 PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin"
 export PATH
 
-AM_PATH_PYTHON
 AC_CHECK_PROGS(MAKE, gmake make)
 AC_PATH_PROGS(SSH, ssh, /usr/bin/ssh)
 AC_PATH_PROGS(SCP, scp, /usr/bin/scp)
diff --git a/heartbeat/ocf-binaries.in b/heartbeat/ocf-binaries.in
index cbf70dbd..db9912e7 100644
--- a/heartbeat/ocf-binaries.in
+++ b/heartbeat/ocf-binaries.in
@@ -33,7 +33,6 @@ export PATH
 : ${MSGFMT:=msgfmt}
 : ${NETSTAT:=netstat}
 : ${PERL:=perl}
-: ${PYTHON:=python}
 : ${RAIDSTART:=raidstart}
 : ${RAIDSTOP:=raidstop}
 : ${ROUTE:=route}
diff --git a/resource-agents.spec.in b/resource-agents.spec.in
index bb90fd30..8fe63a06 100644
--- a/resource-agents.spec.in
+++ b/resource-agents.spec.in
@@ -56,7 +56,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 # Build dependencies
 BuildRequires: automake autoconf pkgconfig
-BuildRequires: perl python-devel
+BuildRequires: perl
 BuildRequires: libxslt glib2-devel
 BuildRequires: which
 
-- 
2.15.1

openSUSE Build Service is sponsored by