15
15
16
16
# Please submit bugfixes or comments via http://bugs.opensuse.org/
17
17
#
18
- %global longcommit bfeee963f7363720da91a018045ca6746d822ba0
18
+ %global longcommit 2a00ac70f7200ed238a5bc73392e6a59a06fe904
19
19
%global shortcommit %(echo %{longcommit }|cut -c1-8)
20
20
%global modified %(echo %{longcommit }-|cut -f2 -d-)
21
21
%global github_owner Clusterlabs
30
30
%global watchdog_timeout_default 5
31
31
%endif
32
32
33
- %global sync_resource_startup_default no
34
- %global sync_resource_startup_sysconfig no
33
+ # Be careful with sync_resource_startup_default
34
+ # being enabled. This configuration has
35
+ # to be in sync with configuration in pacemaker
36
+ # where it is called sbd_sync - assure by e.g.
37
+ # mutual rpm dependencies.
38
+ %bcond_without sync_resource_startup_default
39
+ # Syncing enabled per default will lead to
40
+ # syncing enabled on upgrade without adaption
41
+ # of the config.
42
+ # Setting can still be overruled via sysconfig.
43
+ # The setting in the config-template packaged
44
+ # will follow the default if below is is left
45
+ # empty. But it is possible to have the setting
46
+ # in the config-template deviate from the default
47
+ # by setting below to an explicit 'yes' or 'no'.
48
+ %global sync_resource_startup_sysconfig ""
35
49
36
50
Name: sbd
37
51
Summary: Storage-based death
38
52
License: GPLv2+
39
53
Group: System Environment/Daemons
40
- Version: 1.4.2
54
+ Version: 1.5.0
41
55
Release: 99.%{buildnum }.%{shortcommit }.%{modified }git%{?dist }
42
56
Url: https://github.com/%{github_owner }/%{name }
43
57
Source0: https://github.com/%{github_owner }/%{name }/archive/%{longcommit }/%{name }-%{longcommit }.tar.gz
@@ -72,6 +86,9 @@ ExclusiveArch: i686 x86_64 s390x aarch64 ppc64le
72
86
73
87
This package contains the storage-based death functionality.
74
88
89
+ Available rpmbuild rebuild options:
90
+ --with(out) : sync_resource_startup_default
91
+
75
92
%package tests
76
93
Summary: Storage-based death environment for regression tests
77
94
License: GPLv2+
@@ -91,7 +108,7 @@ regression-testing sbd.
91
108
./autogen.sh
92
109
export CFLAGS=" $RPM_OPT_FLAGS -Wall -Werror"
93
110
%configure --with-watchdog-timeout-default=%{watchdog_timeout_default } \
94
- --with-sync-resource-startup-default=%{sync_resource_startup_default } \
111
+ --with-sync-resource-startup-default=%{? with_sync_resource_startup_default:yes }%{!? with_sync_resource_startup_default:no } \
95
112
--with-sync-resource-startup-sysconfig=%{sync_resource_startup_sysconfig }
96
113
make %{?_smp_mflags }
97
114
###########################################################
@@ -155,6 +172,14 @@ rm -rf %{buildroot}
155
172
%{_libdir }/libsbdtestbed*
156
173
157
174
%changelog
175
+ * Tue Jun 8 2021 <klaus.wenninger@aon.at> - 1.5.0-99.0.2a00ac70.git
176
+ - default to resource-syncing with pacemaker in spec-file and configure.ac
177
+ This default has to match between sbd and pacemaker and
178
+ thus qualifies this release for a minor-version-bump
179
+ - fix some regressions introduced by adding configurability previously
180
+ - adapt description of startup/shutdown sync with pacemaker
181
+ - make watchdog warning messages more understandable
182
+
158
183
* Wed Dec 2 2020 <klaus.wenninger@aon.at> - 1.4.2-99.1.bfeee963.git
159
184
- improve build/CI-friendlyness
160
185
- * travis: switch to F32 as build-host
0 commit comments