Accepting request 567532 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20180118.9c3f7a49c: - libcrmcommon: put exit/return handling in own source/header files - bump build dependencies - Rebase: * pacemaker-Wno-format-signedness.patch - configure: Check for python3 with AM_PATH_PYTHON (fate#323526) * fate-323526_pacemaker-pacemaker-configure-AM_PATH_PYTHON-python3.patch - Update to version 1.1.18+20180112.bd7115b8c: - tools: improve help text - libpe_status: deprecate restart-type and role_after_failure - Update to version 1.1.18+20180109.57d48a1b1: - libcluster,libcrmcommon: improve BZ2 error messages - all: use consistent exit status codes - libcrmcommon,tools: improve XML write error handling - stonithd,libcrmcommon: auto-calculate stonith-watchdog-timeout when requested (fate#324508) - logrotate: switch user when rotating logs - cts: Operate pacemaker service on startup to prevent triggering StopWhenUnneeded of corosync service * pacemaker-cts-StartCmd.patch OBS-URL: https://build.opensuse.org/request/show/567532 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=293
This commit is contained in:
parent
d7ed967e78
commit
23af75a1b7
6
_servicedata
Normal file
6
_servicedata
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">git://github.com/ClusterLabs/pacemaker.git</param>
|
||||||
|
<param name="changesrevision">4864ed4348b39a1adc7c6863e1e9986587b77e72</param>
|
||||||
|
</service>
|
||||||
|
</servicedata>
|
@ -0,0 +1,13 @@
|
|||||||
|
Index: pacemaker-1.1.18+20180112.bd7115b8c/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- pacemaker-1.1.18+20180112.bd7115b8c.orig/configure.ac
|
||||||
|
+++ pacemaker-1.1.18+20180112.bd7115b8c/configure.ac
|
||||||
|
@@ -493,7 +493,7 @@ dnl Replacing AC_PROG_LIBTOOL with AC_CH
|
||||||
|
dnl was NOT being expanded all the time thus causing things to fail.
|
||||||
|
AC_CHECK_PROGS(LIBTOOL, glibtool libtool libtool15 libtool13)
|
||||||
|
|
||||||
|
-AM_PATH_PYTHON
|
||||||
|
+AM_PATH_PYTHON([3])
|
||||||
|
AC_CHECK_PROGS(MAKE, gmake make)
|
||||||
|
AC_PATH_PROGS(HTML2TXT, lynx w3m)
|
||||||
|
AC_PATH_PROGS(HELP2MAN, help2man)
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f2d29a8935bc8b561a3903ae555cf7c867f24f4529cf57e46eec9ad2b4fb628d
|
|
||||||
size 3226060
|
|
3
pacemaker-1.1.18+20180118.9c3f7a49c.tar.xz
Normal file
3
pacemaker-1.1.18+20180118.9c3f7a49c.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:50b95c9997a289d7d20ffc80459ca5f577ef6c9c081fe6d5ef684503020c28b6
|
||||||
|
size 3226688
|
@ -1,19 +1,17 @@
|
|||||||
Index: pacemaker-1.1.14+git20160503.9e38256/configure.ac
|
Index: pacemaker-1.1.18+20180118.9c3f7a49c/configure.ac
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pacemaker-1.1.14+git20160503.9e38256.orig/configure.ac
|
--- pacemaker-1.1.18+20180118.9c3f7a49c.orig/configure.ac
|
||||||
+++ pacemaker-1.1.14+git20160503.9e38256/configure.ac
|
+++ pacemaker-1.1.18+20180118.9c3f7a49c/configure.ac
|
||||||
@@ -1792,12 +1792,12 @@ dnl otherwise none of both
|
@@ -1416,10 +1416,11 @@ dnl otherwise none of both
|
||||||
AC_DEFINE([GCC_FORMAT_NONLITERAL_CHECKING_ENABLED], [],
|
[gcc can complain about nonliterals in format])
|
||||||
[gcc can complain about nonliterals in format])
|
EXTRA_FLAGS="$EXTRA_FLAGS
|
||||||
EXTRA_FLAGS="$EXTRA_FLAGS
|
-Wformat=2
|
||||||
- -Wformat=2
|
+ -Wno-format-signedness
|
||||||
+ -Wformat=2 -Wno-format-signedness
|
-Wformat-nonliteral"
|
||||||
-Wformat-nonliteral"
|
else
|
||||||
else
|
if test "x$gcc_format_nonliteral" = "xyes"; then
|
||||||
if test "x$gcc_format_nonliteral" = "xyes"; then
|
- EXTRA_FLAGS="$EXTRA_FLAGS -Wformat=2"
|
||||||
EXTRA_FLAGS="$EXTRA_FLAGS
|
+ EXTRA_FLAGS="$EXTRA_FLAGS -Wformat=2 -Wno-format-signedness"
|
||||||
- -Wformat=2"
|
|
||||||
+ -Wformat=2 -Wno-format-signedness"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
13
pacemaker-cts-StartCmd.patch
Normal file
13
pacemaker-cts-StartCmd.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: pacemaker-1.1.18+20180104.7ba28d854/cts/patterns.py
|
||||||
|
===================================================================
|
||||||
|
--- pacemaker-1.1.18+20180104.7ba28d854.orig/cts/patterns.py
|
||||||
|
+++ pacemaker-1.1.18+20180104.7ba28d854/cts/patterns.py
|
||||||
|
@@ -103,7 +103,7 @@ class crm_corosync(BasePatterns):
|
||||||
|
BasePatterns.__init__(self, name)
|
||||||
|
|
||||||
|
self.commands.update({
|
||||||
|
- "StartCmd" : "service corosync start && service pacemaker start",
|
||||||
|
+ "StartCmd" : "service pacemaker start",
|
||||||
|
"StopCmd" : "service pacemaker stop; [ ! -e /usr/sbin/pacemaker_remoted ] || service pacemaker_remote stop; service corosync stop",
|
||||||
|
|
||||||
|
"EpochCmd" : "crm_node -e",
|
@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 19 00:23:32 UTC 2018 - ygao@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.1.18+20180118.9c3f7a49c:
|
||||||
|
- libcrmcommon: put exit/return handling in own source/header files
|
||||||
|
- bump build dependencies
|
||||||
|
- Rebase:
|
||||||
|
* pacemaker-Wno-format-signedness.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 18 13:28:17 UTC 2018 - ygao@suse.com
|
||||||
|
|
||||||
|
- configure: Check for python3 with AM_PATH_PYTHON (fate#323526)
|
||||||
|
* fate-323526_pacemaker-pacemaker-configure-AM_PATH_PYTHON-python3.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 13 11:38:33 UTC 2018 - ygao@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.1.18+20180112.bd7115b8c:
|
||||||
|
- tools: improve help text
|
||||||
|
- libpe_status: deprecate restart-type and role_after_failure
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 10 05:18:59 UTC 2018 - ygao@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.1.18+20180109.57d48a1b1:
|
||||||
|
- libcluster,libcrmcommon: improve BZ2 error messages
|
||||||
|
- all: use consistent exit status codes
|
||||||
|
- libcrmcommon,tools: improve XML write error handling
|
||||||
|
- stonithd,libcrmcommon: auto-calculate stonith-watchdog-timeout when requested (fate#324508)
|
||||||
|
- logrotate: switch user when rotating logs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 9 14:43:27 UTC 2018 - ygao@suse.com
|
||||||
|
|
||||||
|
- cts: Operate pacemaker service on startup to prevent triggering StopWhenUnneeded of corosync service
|
||||||
|
* pacemaker-cts-StartCmd.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 05 03:16:07 UTC 2018 - ygao@suse.com
|
Fri Jan 05 03:16:07 UTC 2018 - ygao@suse.com
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: pacemaker
|
Name: pacemaker
|
||||||
Version: 1.1.18+20180104.7ba28d854
|
Version: 1.1.18+20180118.9c3f7a49c
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Scalable High-Availability cluster resource manager
|
Summary: Scalable High-Availability cluster resource manager
|
||||||
# AGPL-3.0 licensed extra/clustermon.sh is not present in the binary
|
# AGPL-3.0 licensed extra/clustermon.sh is not present in the binary
|
||||||
@ -89,6 +89,8 @@ Patch7: bug-943295_pacemaker-lrmd-log-notice.patch
|
|||||||
Patch8: bug-977201_pacemaker-controld-self-fencing.patch
|
Patch8: bug-977201_pacemaker-controld-self-fencing.patch
|
||||||
Patch9: bug-995365_pacemaker-cts-restart-systemd-journald.patch
|
Patch9: bug-995365_pacemaker-cts-restart-systemd-journald.patch
|
||||||
Patch10: fate-323526_pacemaker-tests-shebang-python3.patch
|
Patch10: fate-323526_pacemaker-tests-shebang-python3.patch
|
||||||
|
Patch11: pacemaker-cts-StartCmd.patch
|
||||||
|
Patch12: fate-323526_pacemaker-pacemaker-configure-AM_PATH_PYTHON-python3.patch
|
||||||
# Required for core functionality
|
# Required for core functionality
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -109,15 +111,14 @@ BuildRequires: sed
|
|||||||
BuildRequires: pkgconfig(bzip2)
|
BuildRequires: pkgconfig(bzip2)
|
||||||
BuildRequires: pkgconfig(corosync)
|
BuildRequires: pkgconfig(corosync)
|
||||||
BuildRequires: pkgconfig(dbus-1)
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
## version lower bound for: G_GNUC_INTERNAL
|
BuildRequires: pkgconfig(glib-2.0) >= 2.16
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.6
|
|
||||||
BuildRequires: pkgconfig(gnutls)
|
BuildRequires: pkgconfig(gnutls)
|
||||||
BuildRequires: pkgconfig(libexslt)
|
BuildRequires: pkgconfig(libexslt)
|
||||||
# Pacemaker requires a minimum libqb functionality
|
# Pacemaker requires a minimum libqb functionality
|
||||||
BuildRequires: pkgconfig(libqb) > 0.13.0
|
BuildRequires: pkgconfig(libqb) > 0.13.0
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
BuildRequires: pkgconfig(libxslt)
|
BuildRequires: pkgconfig(libxslt)
|
||||||
# Pacemaker targets compatibility with python 2.6+ and 3.2+
|
# Pacemaker targets compatibility with python 2.7 and 3.2+
|
||||||
BuildRequires: pkgconfig(python3)
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
BuildRequires: pkgconfig(uuid)
|
BuildRequires: pkgconfig(uuid)
|
||||||
@ -299,6 +300,8 @@ manager.
|
|||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
|
%patch11 -p1
|
||||||
|
%patch12 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user