Accepting request 517123 from home:BinLiu:branches:network:ha-clustering:Factory
- Fix rpmlint warnings Added: 0011-fix-tmpfiles-create.patch OBS-URL: https://build.opensuse.org/request/show/517123 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=100
This commit is contained in:
parent
20bf446802
commit
bb971355cb
9
0011-fix-tmpfiles-create.patch
Normal file
9
0011-fix-tmpfiles-create.patch
Normal file
@ -0,0 +1,9 @@
|
||||
--- corosync-2.4.2.orig/tools/corosync-notifyd.sysconfig.example 2016-11-08 00:39:12.000000000 +0800
|
||||
+++ corosync-2.4.2/tools/corosync-notifyd.sysconfig.example 2017-08-16 11:41:00.485913615 +0800
|
||||
@@ -6,5 +6,4 @@
|
||||
#
|
||||
|
||||
# Send DBUS signals on all events (for SNMP traps, use -s)
|
||||
-OPTIONS="-d"
|
||||
-
|
||||
+# OPTIONS="-d"
|
@ -9,6 +9,9 @@ Thu Aug 3 02:50:00 UTC 2017 - bliu@suse.com
|
||||
- L3: corosync: assert(sender_node != NULL) fails after tearing down a network interface(bsc#1032634)
|
||||
Added: 0010-fix-ifdown-udp.patch
|
||||
|
||||
- Fix rpmlint warnings
|
||||
Added: 0011-fix-tmpfiles-create.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 3 02:49:21 UTC 2017 - bliu@suse.com
|
||||
|
||||
|
@ -32,6 +32,11 @@
|
||||
%bcond_without qdevices
|
||||
%bcond_without qnetd
|
||||
|
||||
%if %{defined tmpfiles_create}
|
||||
%else
|
||||
%define tmpfiles_create systemd-tmpfiles --create
|
||||
%endif
|
||||
|
||||
%if 0%{?sles_version} == 12
|
||||
%ifnarch s390 s390x
|
||||
%define buildib 1
|
||||
@ -70,6 +75,7 @@ Patch17: 0007-Make-corosync-work-when-FIPS-mode-is-enabled.patch
|
||||
Patch18: 0008-main.c-add-option-to-set-priority.patch
|
||||
Patch19: 0009-totem-Propagate-totem-initialization-failure.patch
|
||||
Patch20: 0010-fix-ifdown-udp.patch
|
||||
Patch21: 0011-fix-tmpfiles-create.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# openais is indeed gone and should be uninstalled. Yes, we do not
|
||||
@ -148,6 +154,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%patch18 -p1
|
||||
%patch19 -p1
|
||||
%patch20 -p1
|
||||
%patch21 -p1
|
||||
|
||||
%build
|
||||
%if %{with runautogen}
|
||||
@ -269,7 +276,7 @@ APIs and libraries, default configuration files, and an init script.
|
||||
%service_add_pre corosync.service corosync-notifyd.service
|
||||
|
||||
%post
|
||||
#%tmpfiles_create /usr/lib/tmpfiles.d/corosync-notifyd
|
||||
%tmpfiles_create /usr/lib/tmpfiles.d/corosync-notifyd
|
||||
%{fillup_and_insserv -n corosync}
|
||||
%service_add_post corosync.service corosync-notifyd.service
|
||||
|
||||
@ -545,7 +552,7 @@ getent passwd coroqnetd >/dev/null || useradd -r -g coroqnetd -u 701 -s /sbin/no
|
||||
exit 0
|
||||
|
||||
%post -n corosync-qnetd
|
||||
#%tmpfiles_create /usr/lib/tmpfiles.d/corosync-qnetd.conf
|
||||
%tmpfiles_create /usr/lib/tmpfiles.d/corosync-qnetd.conf
|
||||
%if %{sles_version} > 0
|
||||
ln -s /run/corosync-qnetd /var/run/
|
||||
%endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user