Hello community,

here is the log from the commit of package cluster-glue for openSUSE:Factory 
checked in at 2017-05-27 13:08:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cluster-glue (Old)
 and      /work/SRC/openSUSE:Factory/.cluster-glue.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cluster-glue"

Sat May 27 13:08:19 2017 rev:59 rq:496041 
version:1.0.12+v1.git.1485976882.03d61cd

Changes:
--------
--- /work/SRC/openSUSE:Factory/cluster-glue/cluster-glue.changes        
2017-05-10 20:33:22.783933474 +0200
+++ /work/SRC/openSUSE:Factory/.cluster-glue.new/cluster-glue.changes   
2017-05-27 13:09:30.978566581 +0200
@@ -1,0 +2,10 @@
+Thu May  18 13:44:39 UTC 2017 - [email protected]
+
+- Remove openhpi support as the packages is going to be removed.
+
+-------------------------------------------------------------------
+Thu May 18 12:51:46 UTC 2017 - [email protected]
+
+- Add 0001-Fix-warnings-reported-by-GCC7.patch to fix bnc#1030241.
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-warnings-reported-by-GCC7.patch

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

Other differences:
------------------
++++++ cluster-glue.spec ++++++
--- /var/tmp/diff_new_pack.k4Z2Xa/_old  2017-05-27 13:09:32.522348315 +0200
+++ /var/tmp/diff_new_pack.k4Z2Xa/_new  2017-05-27 13:09:32.526347749 +0200
@@ -49,6 +49,8 @@
 Patch1:         bug-694243_cluster-glue_symbol-conflict.patch
 # PATCH-FIX-OPENSUSE: drop lrm as it's not used anymore by pacemaker
 Patch4:         cluster-glue_droplrm.patch
+# PATCH-FIX-UPSTREAM: fix warnings seen by GCC7
+Patch5:         0001-Fix-warnings-reported-by-GCC7.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  OpenIPMI-devel
 BuildRequires:  asciidoc
@@ -65,7 +67,6 @@
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt
 BuildRequires:  net-snmp-devel
-BuildRequires:  openhpi-devel
 BuildRequires:  pkgconfig
 BuildRequires:  python-devel
 %if 0%{?suse_version} > 1130
@@ -123,16 +124,6 @@
 A collection of libraries that are useful for writing cluster managers
 such as Pacemaker.
 
-%package -n stonith-bladehpi
-Summary:        Stonith agent for IBM bladecenter
-Group:          Productivity/Clustering/HA
-
-%description -n stonith-bladehpi
-This STONITH module talks to IBM BladeCenters via SNMP through
-use of the OpenHPI BladeCenter plugin (snmp_bc). For more information
-about installing OpenHPI, setting up the BladeCenter SNMP agent, etc.
-please visit http://www.openhpi.org/.
-
 %package -n libglue-devel
 Summary:        Headers and libraries for writing cluster managers
 Group:          Development/Libraries/C and C++
@@ -149,6 +140,7 @@
 %setup -q
 %patch1 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
@@ -274,7 +266,6 @@
 %exclude %{_libdir}/stonith/plugins/stonith2/null.so
 %exclude %{_libdir}/stonith/plugins/stonith2/ssh.so
 %exclude %{_libdir}/stonith/plugins/external/ssh
-%exclude %{_libdir}/stonith/plugins/stonith2/bladehpi.so
 %{_libdir}/stonith/plugins/stonith2/*.so
 %{_libdir}/stonith/plugins/stonith2/*.py
 %{_libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper
@@ -285,12 +276,6 @@
 %doc AUTHORS
 %doc COPYING.LIB
 
-%files -n stonith-bladehpi
-%defattr(-,root,root)
-%{_libdir}/stonith/plugins/stonith2/bladehpi.so
-%doc AUTHORS
-%doc COPYING.LIB
-
 %files -n libglue-devel
 %defattr(-,root,root)
 %dir %{_libdir}/heartbeat

++++++ 0001-Fix-warnings-reported-by-GCC7.patch ++++++
>From 460d572591e1d2263125f5f3ffe0e2b67d942c2e Mon Sep 17 00:00:00 2001
From: marxin <[email protected]>
Date: Wed, 22 Mar 2017 12:55:40 +0100
Subject: [PATCH] Fix warnings reported by GCC7.

---
 lib/clplumbing/cl_pidfile.c | 2 +-
 lib/stonith/st_ttylock.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/clplumbing/cl_pidfile.c b/lib/clplumbing/cl_pidfile.c
index 5284261a..1a9af172 100644
--- a/lib/clplumbing/cl_pidfile.c
+++ b/lib/clplumbing/cl_pidfile.c
@@ -71,7 +71,7 @@
 
 
 /* This is what the FHS standard specifies for the size of our lock file */
-#define        LOCKSTRLEN      11
+#define        LOCKSTRLEN      12
 #include <clplumbing/cl_log.h>
 int IsRunning(long pid)
 {
diff --git a/lib/stonith/st_ttylock.c b/lib/stonith/st_ttylock.c
index d6d0464c..4cb5b8a7 100644
--- a/lib/stonith/st_ttylock.c
+++ b/lib/stonith/st_ttylock.c
@@ -125,7 +125,7 @@ st_ttyunlock(const char *serial_device)
 }
 
 /* This is what the FHS standard specifies for the size of our lock file */
-#define        LOCKSTRLEN      11
+#define        LOCKSTRLEN      12
 
 static int
 DoLock(const char * prefix, const char *lockname)
-- 
2.12.0


Reply via email to