diff --git a/.gitignore b/.gitignore index 3567e84..7567368 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ corosync-1.2.7.tar.gz /corosync-2.99.5.tar.gz /corosync-3.0.0.tar.gz /corosync-3.0.1.tar.gz +/corosync-3.0.2.tar.gz diff --git a/corosync.spec b/corosync.spec index 4bcce2c..ea0892b 100644 --- a/corosync.spec +++ b/corosync.spec @@ -7,14 +7,17 @@ %bcond_without dbus %bcond_without systemd %bcond_without xmlconf +%bcond_without nozzle +%bcond_without vqsim %bcond_without runautogen +%bcond_without userflags %global gitver %{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}} %global gittarver %{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}} Name: corosync Summary: The Corosync Cluster Engine and Application Programming Interfaces -Version: 3.0.1 +Version: 3.0.2 Release: 1%{?gitver}%{?dist} License: BSD URL: http://corosync.github.io/corosync/ @@ -45,6 +48,9 @@ BuildRequires: net-snmp-devel %if %{with dbus} BuildRequires: dbus-devel %endif +%if %{with nozzle} +BuildRequires: libnozzle1-devel +%endif %if %{with systemd} %{?systemd_requires} BuildRequires: systemd @@ -56,6 +62,9 @@ Requires(preun): /sbin/chkconfig %if %{with xmlconf} Requires: libxslt %endif +%if %{with vqsim} +BuildRequires: readline-devel +%endif %prep %setup -q -n %{name}-%{version}%{?gittarver} @@ -84,6 +93,15 @@ Requires: libxslt %if %{with xmlconf} --enable-xmlconf \ %endif +%if %{with nozzle} + --enable-nozzle \ +%endif +%if %{with vqsim} + --enable-vqsim \ +%endif +%if %{with userflags} + --enable-user-flags \ +%endif --with-initddir=%{_initrddir} \ --with-systemddir=%{_unitdir} \ --docdir=%{_docdir} @@ -249,7 +267,29 @@ The Corosync Cluster Engine APIs. %{_mandir}/man3/sam_*3* %{_mandir}/man3/cmap_*3* +%if %{with vqsim} +%package -n corosync-vqsim +Summary: The Corosync Cluster Engine - Votequorum Simulator +Requires: corosynclib%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description -n corosync-vqsim +A command-line simulator for the corosync votequorum subsystem. +It uses the same code as the corosync quorum system but forks +them into subprocesses to simulate nodes. +Nodes can be added and removed as well as partitioned (to simulate +network splits) + +%files -n corosync-vqsim +%doc LICENSE +%{_bindir}/corosync-vqsim +%{_mandir}/man8/corosync-vqsim.8* +%endif + %changelog +* Wed Jun 12 2019 Jan Friesse - 3.0.2-1 +- New upstream release + * Tue Jan 15 2019 Jan Friesse - 3.0.1-1 - New upstream release diff --git a/sources b/sources index 3d585e7..c31c546 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (corosync-3.0.1.tar.gz) = 9e70aadb331ffb3ef86b4c7dff8608ef3723810b3065e9aa2dc8a7abe84a26c34445c7a6d872339e19e77247aac1be7297c97d2012fe64502372eeb3e2aa19b7 +SHA512 (corosync-3.0.2.tar.gz) = be2d5caf41fea9dc337a317ee4f2f90ad6587b2ad2ff09b62e376e0d9273fb8ac6b71a4c1b0ac8e263f1eef2fbc2fb7c0558f1c78cd71f1242a57c58b6d137ca