Accepting request 318814 from home:BinLiu:branches:network:ha-clustering:Factory
update corosync from v2.3.3(or v2.3.4) to v2.3.5 for bnc#939328 OBS-URL: https://build.opensuse.org/request/show/318814 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=61
This commit is contained in:
parent
4cc7771042
commit
d6a242d0cf
4
bnc#867767-add-version.patch
Normal file
4
bnc#867767-add-version.patch
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
--- /dev/null 2015-07-20 08:30:37.121221591 +0800
|
||||||
|
+++ corosync-2.3.5/.tarball-version 2015-07-21 13:20:34.907779088 +0800
|
||||||
|
@@ -0,0 +1 @@
|
||||||
|
+2.3.5
|
@ -1,8 +1,6 @@
|
|||||||
Index: corosync-2.3.3/init/corosync.service.in
|
--- corosync-2.3.5.orig/init/corosync.service.in 2015-07-21 11:09:11.911660803 +0800
|
||||||
===================================================================
|
+++ corosync-2.3.5/init/corosync.service.in 2015-07-21 13:25:08.239783189 +0800
|
||||||
--- corosync-2.3.3.orig/init/corosync.service.in
|
@@ -3,6 +3,7 @@
|
||||||
+++ corosync-2.3.3/init/corosync.service.in
|
|
||||||
@@ -3,6 +3,7 @@ Description=Corosync Cluster Engine
|
|
||||||
ConditionKernelCommandLine=!nocluster
|
ConditionKernelCommandLine=!nocluster
|
||||||
Requires=network-online.target
|
Requires=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
@ -52,9 +52,9 @@ Index: corosync-2.3.3/conf/corosync.conf.example.udpu
|
|||||||
fileline: off
|
fileline: off
|
||||||
- to_logfile: yes
|
- to_logfile: yes
|
||||||
+ #to_logfile: no
|
+ #to_logfile: no
|
||||||
+ #logfile: /var/log/cluster/corosync.log
|
|
||||||
to_syslog: yes
|
to_syslog: yes
|
||||||
- logfile: /var/log/cluster/corosync.log
|
- logfile: /var/log/cluster/corosync.log
|
||||||
|
+ #logfile: /var/log/cluster/corosync.log
|
||||||
debug: off
|
debug: off
|
||||||
timestamp: on
|
timestamp: on
|
||||||
logger_subsys {
|
logger_subsys {
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
diff -Ndur corosync-2.3.4/cts/agents/mem_leak_test.sh corosync-2.3.4-fix-bashisms/cts/agents/mem_leak_test.sh
|
--- corosync-2.3.5.orig/cts/agents/mem_leak_test.sh 2015-07-21 13:47:30.058803324 +0800
|
||||||
--- corosync-2.3.4/cts/agents/mem_leak_test.sh 2014-08-12 10:27:36.000000000 +0300
|
+++ corosync-2.3.5/cts/agents/mem_leak_test.sh 2015-07-27 10:03:53.903380662 +0800
|
||||||
+++ corosync-2.3.4-fix-bashisms/cts/agents/mem_leak_test.sh 2014-11-17 05:57:38.986640342 +0200
|
|
||||||
@@ -41,14 +41,14 @@
|
@@ -41,14 +41,14 @@
|
||||||
find $f | sed "s|\.|_|g" | sed "s|/|.|g" | while read l
|
find $f | sed "s|\.|_|g" | sed "s|/|.|g" | while read l
|
||||||
do
|
do
|
||||||
echo $l.count u64 $COUNT >> $temp_file
|
echo $l.count u64 $COUNT >> $temp_file
|
||||||
- let COUNT="$COUNT+1"
|
- let COUNT="$COUNT+1"
|
||||||
+ COUNT=$((COUNT + 1))
|
+ COUNT="$COUNT+1"
|
||||||
done
|
done
|
||||||
|
|
||||||
corosync-cmapctl -p $temp_file
|
corosync-cmapctl -p $temp_file
|
||||||
@ -14,7 +13,7 @@ diff -Ndur corosync-2.3.4/cts/agents/mem_leak_test.sh corosync-2.3.4-fix-bashism
|
|||||||
done
|
done
|
||||||
AFTER=$(get_mem $TYPE)
|
AFTER=$(get_mem $TYPE)
|
||||||
- let DIFF="$AFTER - $BEFORE"
|
- let DIFF="$AFTER - $BEFORE"
|
||||||
+ DIFF=$((AFTER - BEFORE))
|
+ DIFF="$AFTER - $BEFORE"
|
||||||
rm -f $temp_file
|
rm -f $temp_file
|
||||||
#echo $f diff $TYPE $DIFF
|
#echo $f diff $TYPE $DIFF
|
||||||
echo $DIFF
|
echo $DIFF
|
||||||
@ -23,12 +22,12 @@ diff -Ndur corosync-2.3.4/cts/agents/mem_leak_test.sh corosync-2.3.4-fix-bashism
|
|||||||
do
|
do
|
||||||
corosync-cmapctl -s $l u32 $COUNT
|
corosync-cmapctl -s $l u32 $COUNT
|
||||||
- let COUNT="$COUNT+1"
|
- let COUNT="$COUNT+1"
|
||||||
+ COUNT=$((COUNT + 1))
|
+ COUNT="$COUNT+1"
|
||||||
done
|
done
|
||||||
corosync-cmapctl -D usr
|
corosync-cmapctl -D usr
|
||||||
AFTER=$(get_mem $TYPE)
|
AFTER=$(get_mem $TYPE)
|
||||||
- let DIFF="$AFTER - $BEFORE"
|
- let DIFF="$AFTER - $BEFORE"
|
||||||
+ DIFF=$((AFTER - BEFORE))
|
+ DIFF="$AFTER - $BEFORE"
|
||||||
echo $DIFF
|
echo $DIFF
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3dae93fb1cf5c560295253b0560cbc25421ed053ee373852864f3a60c03247d4
|
|
||||||
size 994555
|
|
3
corosync-2.3.5.tar.gz
Normal file
3
corosync-2.3.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5612326e74dccf7bac9cdcff34fdeeb90a5e3b3287e7b90255bdbe1afcf03cb0
|
||||||
|
size 21940352
|
15
corosync-cts-api-error.patch
Normal file
15
corosync-cts-api-error.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- corosync-2.3.5.orig/cts/corolab.py 2015-07-21 11:09:11.898660803 +0800
|
||||||
|
+++ corosync-2.3.5/cts/corolab.py 2015-07-21 12:53:27.922754675 +0800
|
||||||
|
@@ -308,10 +308,10 @@
|
||||||
|
elif Environment["all-once"] or NumIter == 0:
|
||||||
|
NumIter = len(Tests)
|
||||||
|
scenario = AllOnce(
|
||||||
|
- cm, [ InitClusterManager(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
|
||||||
|
+ cm, [ BootCluster(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
|
||||||
|
else:
|
||||||
|
scenario = RandomTests(
|
||||||
|
- cm, [ InitClusterManager(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
|
||||||
|
+ cm, [ BootCluster(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
|
||||||
|
|
||||||
|
Environment.log(">>>>>>>>>>>>>>>> BEGINNING " + repr(NumIter) + " TESTS ")
|
||||||
|
Environment.log("Stack: %s" % Environment["Stack"])
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 21 15:12:26 UTC 2015 - bliu@suse.com
|
||||||
|
|
||||||
|
update from v2.3.3 to v2.3.5 (bnc#939328)
|
||||||
|
v2.3.5
|
||||||
|
- Log: Add logrotate configuration file
|
||||||
|
- totemsrp: Improve logging of left/down nodes
|
||||||
|
- totemconfig: Check for duplicate nodeids
|
||||||
|
- Really add cpghum
|
||||||
|
- cpg: Add support for messages larger than 1Mb
|
||||||
|
- Handle adding and removing UDPU members atomically
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 1 17:30:22 UTC 2015 - bliu@suse.com
|
||||||
|
|
||||||
|
- mv the place of corosync.conf.example*(fate#318190)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 19 22:24:13 UTC 2014 - dimstar@opensuse.org
|
Wed Nov 19 22:24:13 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
@ -551,4 +568,3 @@ Tue Dec 15 15:27:37 UTC 2009 - dmuhamedagic@novell.com
|
|||||||
(http://en.opensuse.org/Shared_Library_Packaging_Policy)
|
(http://en.opensuse.org/Shared_Library_Packaging_Policy)
|
||||||
- Autotools generated version from the released upstream version 1.2.0
|
- Autotools generated version from the released upstream version 1.2.0
|
||||||
- some specfile changes (initddir -> initrddir, header)
|
- some specfile changes (initddir -> initrddir, header)
|
||||||
|
|
||||||
|
130
corosync.spec
130
corosync.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package corosync
|
# spec file for package corosync
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#%global dirty dirty
|
||||||
|
|
||||||
# Conditionals
|
# Conditionals
|
||||||
# Invoke "rpmbuild --without <feature>" or "rpmbuild --with <feature>"
|
# Invoke "rpmbuild --without <feature>" or "rpmbuild --with <feature>"
|
||||||
# to disable or enable specific features
|
# to disable or enable specific features
|
||||||
@ -44,21 +46,32 @@ Name: corosync
|
|||||||
Summary: The Corosync Cluster Engine and Application Programming Interfaces
|
Summary: The Corosync Cluster Engine and Application Programming Interfaces
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Clustering/HA
|
Group: Productivity/Clustering/HA
|
||||||
Version: 2.3.4
|
Version: 2.3.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.corosync.org
|
Url: http://www.corosync.org
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch1: corosync-init-lockfile-path-error.patch
|
Patch1: corosync-init-lockfile-path-error.patch
|
||||||
Patch2: bnc#872651-stop-cluster.patch
|
Patch2: corosync-cts-api-error.patch
|
||||||
Patch3: bnc#882449-corosync-conf-example.patch
|
Patch3: bnc#867767-add-version.patch
|
||||||
Patch4: corosync-2.3.4-fix-bashisms.patch
|
Patch4: bnc#872651-stop-cluster.patch
|
||||||
|
Patch5: bnc#882449-corosync-conf-example.patch
|
||||||
|
Patch6: corosync-2.3.4-fix-bashisms.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# openais is indeed gone and should be uninstalled. Yes, we do not
|
# openais is indeed gone and should be uninstalled. Yes, we do not
|
||||||
# provide openais on purpose, the package has been deleted.
|
# provide openais on purpose, the package has been deleted.
|
||||||
Obsoletes: openais
|
Obsoletes: openais < 1.2
|
||||||
Conflicts: openais
|
Conflicts: openais < 1.2
|
||||||
|
|
||||||
# Runtime bits
|
# Runtime bits
|
||||||
|
Requires: libcorosync4 = %{version}-%{release}
|
||||||
|
Requires(pre): /usr/sbin/useradd
|
||||||
|
Requires(post): /sbin/chkconfig
|
||||||
|
Requires(preun): /sbin/chkconfig
|
||||||
|
Conflicts: openais <= 0.89, openais-devel <= 0.89
|
||||||
|
|
||||||
|
# Build bits
|
||||||
|
|
||||||
Requires: libcorosync4 = %{version}-%{release}
|
Requires: libcorosync4 = %{version}-%{release}
|
||||||
#Requires(pre): /usr/sbin/useradd
|
#Requires(pre): /usr/sbin/useradd
|
||||||
#Requires(post): /sbin/chkconfig
|
#Requires(post): /sbin/chkconfig
|
||||||
@ -71,6 +84,7 @@ BuildRequires: mozilla-nss-devel
|
|||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
%if %{with monitoring}
|
%if %{with monitoring}
|
||||||
BuildRequires: libstatgrab-devel
|
BuildRequires: libstatgrab-devel
|
||||||
@ -85,8 +99,8 @@ BuildRequires: net-snmp-devel
|
|||||||
%if %{with dbus}
|
%if %{with dbus}
|
||||||
BuildRequires: dbus-1-devel
|
BuildRequires: dbus-1-devel
|
||||||
%endif
|
%endif
|
||||||
%if %{with_systemd}
|
%if %{with systemd}
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: systemd
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
@ -101,11 +115,13 @@ Requires: libxslt
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#%if 0%{?buildtrunk} == 1
|
%if %{with runautogen}
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
#%endif
|
%endif
|
||||||
|
|
||||||
%if %{with rdma}
|
%if %{with rdma}
|
||||||
export ibverbs_CFLAGS=-I/usr/include/infiniband \
|
export ibverbs_CFLAGS=-I/usr/include/infiniband \
|
||||||
@ -114,7 +130,7 @@ export rdmacm_CFLAGS=-I/usr/include/rdma \
|
|||||||
export rdmacm_LIBS=-lrdmacm \
|
export rdmacm_LIBS=-lrdmacm \
|
||||||
%endif
|
%endif
|
||||||
%{configure} \
|
%{configure} \
|
||||||
%if %{with_testagents}
|
%if %{with testagents}
|
||||||
--enable-testagents \
|
--enable-testagents \
|
||||||
--enable-augeas \
|
--enable-augeas \
|
||||||
--enable-debug \
|
--enable-debug \
|
||||||
@ -128,10 +144,13 @@ export rdmacm_LIBS=-lrdmacm \
|
|||||||
%if %{with snmp}
|
%if %{with snmp}
|
||||||
--enable-snmp \
|
--enable-snmp \
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with dbus}
|
||||||
|
--enable-dbus \
|
||||||
|
%endif
|
||||||
%if %{with rdma}
|
%if %{with rdma}
|
||||||
--enable-rdma \
|
--enable-rdma \
|
||||||
%endif
|
%endif
|
||||||
%if %{with_systemd}
|
%if %{with systemd}
|
||||||
--enable-systemd \
|
--enable-systemd \
|
||||||
%endif
|
%endif
|
||||||
%if %{with upstart}
|
%if %{with upstart}
|
||||||
@ -147,8 +166,11 @@ export rdmacm_LIBS=-lrdmacm \
|
|||||||
make %{_smp_mflags}
|
make %{_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
make install DESTDIR=%{buildroot}
|
||||||
|
rm -rf %{buildroot}/usr/share/doc/corosync/html
|
||||||
|
rm -rf %{buildroot}/usr/share/doc/corosync
|
||||||
%if %{with dbus}
|
%if %{with dbus}
|
||||||
mkdir -p -m 0700 %{buildroot}/%{_sysconfdir}/dbus-1/system.d
|
mkdir -p -m 0700 %{buildroot}/%{_sysconfdir}/dbus-1/system.d
|
||||||
install -m 644 %{_builddir}/%{name}-%{version}/conf/corosync-signals.conf %{buildroot}/%{_sysconfdir}/dbus-1/system.d/corosync-signals.conf
|
install -m 644 %{_builddir}/%{name}-%{version}/conf/corosync-signals.conf %{buildroot}/%{_sysconfdir}/dbus-1/system.d/corosync-signals.conf
|
||||||
@ -156,30 +178,25 @@ install -m 644 %{_builddir}/%{name}-%{version}/conf/corosync-signals.conf %{buil
|
|||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rccorosync
|
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rccorosync
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
## tree fixup
|
## tree fixup
|
||||||
# drop static libs
|
# drop static libs
|
||||||
rm -f %{buildroot}%{_libdir}/*.a
|
rm -f %{buildroot}%{_libdir}/*.a
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
# drop docs and html docs for now
|
# drop docs and html docs for now
|
||||||
rm -rf %{buildroot}%{_docdir}/*
|
rm -rf %{buildroot}%{_docdir}/*
|
||||||
rm -rf %{buildroot}%{_datadir}/doc/*
|
|
||||||
|
|
||||||
# /etc/sysconfig/corosync-notifyd
|
|
||||||
#mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
|
|
||||||
#install -m 644 tools/corosync-notifyd.sysconfig.example \
|
|
||||||
# %{buildroot}%{_sysconfdir}/sysconfig/corosync-notifyd
|
|
||||||
#%{__install} -d -m 0755 %{buildroot}/usr/lib/tmpfiles.d/
|
|
||||||
#%{__install} -m 0644 %{buildroot}/usr/lib/tmpfiles.d/corosync-notifyd
|
|
||||||
mkdir -p %{buildroot}/usr/lib/tmpfiles.d/
|
mkdir -p %{buildroot}/usr/lib/tmpfiles.d/
|
||||||
|
mkdir -p %{buildroot}/usr/share/doc/packages/corosync/
|
||||||
install -m 0644 tools/corosync-notifyd.sysconfig.example %{buildroot}/usr/lib/tmpfiles.d/corosync-notifyd
|
install -m 0644 tools/corosync-notifyd.sysconfig.example %{buildroot}/usr/lib/tmpfiles.d/corosync-notifyd
|
||||||
|
install -m 0644 conf/corosync.conf.example* %{buildroot}/usr/share/doc/packages/corosync/
|
||||||
|
rm -rf %{buildroot}/etc/corosync/corosync.conf.example*
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the Corosync Cluster Engine Executive, several
|
This package contains the Corosync Cluster Engine Executive, several default
|
||||||
default APIs and libraries, default configuration files, and an init
|
APIs and libraries, default configuration files, and an init script.
|
||||||
script.
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%if %{with_systemd} && 0%{?systemd_post:1}
|
%if %{with_systemd} && 0%{?systemd_post:1}
|
||||||
@ -187,34 +204,40 @@ script.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%if %{with_systemd} && 0%{?systemd_post:1}
|
%if %{with systemd} && 0%{?systemd_post:1}
|
||||||
%service_add_post corosync.service corosync-notifyd.service
|
%service_add_post corosync.service corosync-notifyd.service
|
||||||
%else
|
%else
|
||||||
if [ $1 -eq 1 ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
/sbin/chkconfig --add corosync || :
|
/sbin/chkconfig --add corosync || :
|
||||||
fi
|
fi
|
||||||
%endif
|
%endif
|
||||||
|
rm -rf %{_sysconfdir}/corosync/corosync.conf.example %{_sysconfdir}/corosync/corosync.conf.example.unicast
|
||||||
|
ln -s /usr/share/doc/packages/corosync/corosync.conf.example %{_sysconfdir}/corosync/
|
||||||
|
ln -s /usr/share/doc/packages/corosync/corosync.conf.example.udpu %{_sysconfdir}/corosync/corosync.conf.example.unicast
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%if %{with_systemd} && 0%{?systemd_preun:1}
|
|
||||||
#%systemd_preun corosync.service corosync-notifyd.service
|
unlink %{_sysconfdir}/corosync/corosync.conf.example.unicast
|
||||||
%service_del_preun corosync.service corosync-notifyd.service
|
unlink %{_sysconfdir}//corosync/corosync.conf.example
|
||||||
|
|
||||||
|
%if %{with systemd} && 0%{?systemd_preun:1}
|
||||||
|
%systemd_preun corosync.service
|
||||||
%else
|
%else
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
/sbin/service corosync stop >/dev/null 2>&1 ||:
|
/sbin/service corosync stop &>/dev/null || :
|
||||||
/sbin/chkconfig --del corosync || :
|
/sbin/chkconfig --del corosync || :
|
||||||
fi
|
fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%if %{with_systemd} && 0%{?systemd_postun:1}
|
%if %{with systemd} && 0%{?systemd_postun:1}
|
||||||
#%systemd_postun corosync.service corosync-notifyd.service
|
%systemd_postun
|
||||||
%service_del_postun corosync.service corosync-notifyd.service
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE SECURITY
|
%doc LICENSE
|
||||||
|
%doc SECURITY
|
||||||
%{_sbindir}/corosync
|
%{_sbindir}/corosync
|
||||||
%{_sbindir}/corosync-keygen
|
%{_sbindir}/corosync-keygen
|
||||||
%{_sbindir}/corosync-cmapctl
|
%{_sbindir}/corosync-cmapctl
|
||||||
@ -236,8 +259,8 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
%dir %{_sysconfdir}/corosync
|
%dir %{_sysconfdir}/corosync
|
||||||
%dir %{_sysconfdir}/corosync/uidgid.d
|
%dir %{_sysconfdir}/corosync/uidgid.d
|
||||||
%config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example
|
%config(noreplace) /usr/share/doc/packages/corosync/corosync.conf.example
|
||||||
%config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example.udpu
|
%config(noreplace) /usr/share/doc/packages/corosync/corosync.conf.example.udpu
|
||||||
#%config(noreplace) %{_sysconfdir}/sysconfig/corosync-notifyd
|
#%config(noreplace) %{_sysconfdir}/sysconfig/corosync-notifyd
|
||||||
%config(noreplace) /usr/lib/tmpfiles.d/corosync-notifyd
|
%config(noreplace) /usr/lib/tmpfiles.d/corosync-notifyd
|
||||||
%if %{with dbus}
|
%if %{with dbus}
|
||||||
@ -246,7 +269,7 @@ fi
|
|||||||
%if %{with snmp}
|
%if %{with snmp}
|
||||||
%{_datadir}/snmp/mibs/COROSYNC-MIB.txt
|
%{_datadir}/snmp/mibs/COROSYNC-MIB.txt
|
||||||
%endif
|
%endif
|
||||||
%if %{with_systemd}
|
%if %{with systemd}
|
||||||
%{_unitdir}/corosync.service
|
%{_unitdir}/corosync.service
|
||||||
%{_unitdir}/corosync-notifyd.service
|
%{_unitdir}/corosync-notifyd.service
|
||||||
%dir %{_datadir}/corosync
|
%dir %{_datadir}/corosync
|
||||||
@ -262,13 +285,22 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
%dir %{_localstatedir}/lib/corosync
|
%dir %{_localstatedir}/lib/corosync
|
||||||
%dir %{_localstatedir}/log/cluster
|
%dir %{_localstatedir}/log/cluster
|
||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/corosync_overview.8*
|
||||||
%{_mandir}/man5/*.5*
|
%{_mandir}/man8/corosync.8*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man8/corosync-blackbox.8*
|
||||||
|
%{_mandir}/man8/corosync-cmapctl.8*
|
||||||
|
%{_mandir}/man8/corosync-keygen.8*
|
||||||
|
%{_mandir}/man8/corosync-cfgtool.8*
|
||||||
|
%{_mandir}/man8/corosync-cpgtool.8*
|
||||||
|
%{_mandir}/man8/corosync-notifyd.8*
|
||||||
|
%{_mandir}/man8/corosync-quorumtool.8*
|
||||||
|
%{_mandir}/man5/corosync.conf.5*
|
||||||
|
%{_mandir}/man5/votequorum.5*
|
||||||
|
%{_mandir}/man8/cmap_keys.8*
|
||||||
|
|
||||||
# optional testagent rpm
|
# optional testagent rpm
|
||||||
#
|
#
|
||||||
%if %{with_testagents}
|
%if %{with testagents}
|
||||||
|
|
||||||
%package -n corosync-testagents
|
%package -n corosync-testagents
|
||||||
Summary: The Corosync Cluster Engine Test Agents
|
Summary: The Corosync Cluster Engine Test Agents
|
||||||
@ -284,6 +316,7 @@ This package contains corosync test agents.
|
|||||||
%dir %{_datadir}/augeas
|
%dir %{_datadir}/augeas
|
||||||
%dir %{_datadir}/augeas/lenses
|
%dir %{_datadir}/augeas/lenses
|
||||||
%dir %{_datadir}/augeas/lenses/tests
|
%dir %{_datadir}/augeas/lenses/tests
|
||||||
|
|
||||||
%{_datadir}/corosync/tests/mem_leak_test.sh
|
%{_datadir}/corosync/tests/mem_leak_test.sh
|
||||||
%{_datadir}/corosync/tests/net_breaker.sh
|
%{_datadir}/corosync/tests/net_breaker.sh
|
||||||
%{_datadir}/corosync/tests/cmap-dispatch-deadlock.sh
|
%{_datadir}/corosync/tests/cmap-dispatch-deadlock.sh
|
||||||
@ -302,8 +335,9 @@ This package contains corosync test agents.
|
|||||||
Summary: The Corosync Cluster Engine Libraries
|
Summary: The Corosync Cluster Engine Libraries
|
||||||
Group: Productivity/Clustering/HA
|
Group: Productivity/Clustering/HA
|
||||||
# openais is indeed gone and should be uninstalled. Yes, we do not
|
# openais is indeed gone and should be uninstalled. Yes, we do not
|
||||||
# provide openais on purpose, the package has been deleted.
|
# provide libopenais on purpose, the package has been deleted.
|
||||||
Obsoletes: libopenais3
|
Obsoletes: libopenais3 < 1.2
|
||||||
|
Conflicts: libopenais3 < 1.2
|
||||||
#Requires: %{name} = %{version}-%{release}
|
#Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n libcorosync4
|
%description -n libcorosync4
|
||||||
@ -364,6 +398,16 @@ The Corosync Cluster Engine APIs.
|
|||||||
%{_libdir}/libsam.so
|
%{_libdir}/libsam.so
|
||||||
%{_libdir}/libcorosync_common.so
|
%{_libdir}/libcorosync_common.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%{_mandir}/man3/cpg_*3*
|
||||||
|
%{_mandir}/man3/quorum_*3*
|
||||||
|
%{_mandir}/man3/votequorum_*3*
|
||||||
|
%{_mandir}/man3/sam_*3*
|
||||||
|
%{_mandir}/man8/cpg_overview.8*
|
||||||
|
%{_mandir}/man8/votequorum_overview.8*
|
||||||
|
%{_mandir}/man8/sam_overview.8*
|
||||||
|
%{_mandir}/man3/cmap_*3*
|
||||||
|
%{_mandir}/man8/cmap_overview.8*
|
||||||
|
%{_mandir}/man8/quorum_overview.8*
|
||||||
%post -n libcorosync-devel -p /sbin/ldconfig
|
%post -n libcorosync-devel -p /sbin/ldconfig
|
||||||
%postun -n libcorosync-devel -p /sbin/ldconfig
|
%postun -n libcorosync-devel -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user