Hello community,

here is the log from the commit of package resource-agents for openSUSE:Factory 
checked in at 2018-01-19 11:48:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/resource-agents (Old)
 and      /work/SRC/openSUSE:Factory/.resource-agents.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "resource-agents"

Fri Jan 19 11:48:44 2018 rev:81 rq:566867 version:4.1.0+git59.a0452207

Changes:
--------
--- /work/SRC/openSUSE:Factory/resource-agents/resource-agents.changes  
2018-01-16 09:33:45.681864650 +0100
+++ /work/SRC/openSUSE:Factory/.resource-agents.new/resource-agents.changes     
2018-01-19 11:48:50.795988398 +0100
@@ -1,0 +2,11 @@
+Wed Jan 17 15:51:22 UTC 2018 - [email protected]
+
+- Drop python requirement (bsc#1076413)
+  * 0001-Drop-python-from-build-system-since-nothing-uses-it.patch 
+
+-------------------------------------------------------------------
+Wed Jan 17 15:45:47 UTC 2018 - [email protected]
+
+- Use python3 (bsc#1076413) 
+
+-------------------------------------------------------------------

New:
----
  0001-Drop-python-from-build-system-since-nothing-uses-it.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ resource-agents.spec ++++++
--- /var/tmp/diff_new_pack.1xJ5LT/_old  2018-01-19 11:48:51.311964071 +0100
+++ /var/tmp/diff_new_pack.1xJ5LT/_new  2018-01-19 11:48:51.311964071 +0100
@@ -37,6 +37,8 @@
 Patch4:         0004-Revert-Low-build-Move-binaries-in-usr-lib-heartbeat-.patch
 # PATCH-FIX-OPENSUSE: Revert ocf_log: use same log format at pacemaker
 Patch6:         0006-Revert-ocf_log-use-same-log-format-as-pacemaker.patch
+# PATCH-FIX-UPSTREAM: Drop python from build system since nothing uses it 
(bsc#1076413)
+Patch7:         0001-Drop-python-from-build-system-since-nothing-uses-it.patch
 
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -47,7 +49,6 @@
 BuildRequires:  pkgconfig
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0)
-BuildRequires:  pkgconfig(python)
 Obsoletes:      heartbeat-resources
 Provides:       %{name}-devel = %{version}
 Provides:       heartbeat-resources
@@ -108,6 +109,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 autoreconf -fvi
@@ -127,10 +129,8 @@
 %make_install
 mkdir -p %{buildroot}%{_sysconfdir}/ha.d/resource.d
 ln -s service %{buildroot}/%{_sbindir}/rcldirectord
-# Dont package static libs or compiled python
+# Dont package static libs
 find %{buildroot} -type f -name "*.la" -delete -print
-find %{buildroot} -name '*.pyc' -type f -print0 | xargs -0 rm -f
-find %{buildroot} -name '*.pyo' -type f -print0 | xargs -0 rm -f
 # Unset execute permissions from things that shouln't have it
 find %{buildroot} -name 'ocf-*'  -type f -print0 | xargs -0 chmod a-x
 find %{buildroot} -name '*.dtd'  -type f -print0 | xargs -0 chmod a-x

++++++ 0001-Drop-python-from-build-system-since-nothing-uses-it.patch ++++++
>From 0a4a95b6e525ae867aa989b8448b8d2459116f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <[email protected]>
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


Reply via email to