Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Jan Friesse
68a4f29961 New upstream release
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
2018-04-12 13:18:15 +02:00
Jan Friesse
ec444afbe6 New upstream release
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
2017-10-20 17:06:15 +02:00
3 changed files with 24 additions and 12 deletions

2
.gitignore vendored
View file

@ -30,3 +30,5 @@ corosync-1.2.7.tar.gz
/corosync-2.4.0.tar.gz
/corosync-2.4.1.tar.gz
/corosync-2.4.2.tar.gz
/corosync-2.4.3.tar.gz
/corosync-2.4.4.tar.gz

View file

@ -16,14 +16,15 @@
%bcond_without runautogen
%bcond_without qdevices
%bcond_without qnetd
%bcond_without libcgroup
%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: 2.4.2
Release: 2%{?gitver}%{?dist}
Version: 2.4.4
Release: 1%{?gitver}%{?dist}
License: BSD
Group: System Environment/Base
URL: http://corosync.github.io/corosync/
@ -34,7 +35,8 @@ ExclusiveArch: i686 x86_64
%endif
# Runtime bits
Requires: corosynclib = %{version}-%{release}
# The automatic dependency overridden in favor of explicit version lock
Requires: corosynclib%{?_isa} = %{version}-%{release}
Requires(pre): /usr/sbin/useradd
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
@ -77,6 +79,9 @@ Requires: nss-tools
%if %{with qnetd}
BuildRequires: sed
%endif
%if %{with libcgroup}
BuildRequires: libcgroup-devel
%endif
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@ -127,11 +132,13 @@ export rdmacm_LIBS=-lrdmacm \
%endif
%if %{with qnetd}
--enable-qnetd \
%endif
%if %{with libcgroup}
--enable-libcgroup \
%endif
--with-initddir=%{_initrddir} \
--with-systemddir=%{_unitdir} \
--with-upstartdir=%{_sysconfdir}/init \
--with-tmpfilesdir=%{_tmpfilesdir}
--with-upstartdir=%{_sysconfdir}/init
make %{_smp_mflags}
@ -172,8 +179,6 @@ install -m 644 init/corosync-qnetd.sysconfig.example \
%if %{with systemd}
sed -i -e 's/^#User=/User=/' \
%{buildroot}%{_unitdir}/corosync-qnetd.service
sed -i -e 's/root/coroqnetd/g' \
%{buildroot}%{_tmpfilesdir}/corosync-qnetd.conf
%else
sed -i -e 's/^COROSYNC_QNETD_RUNAS=""$/COROSYNC_QNETD_RUNAS="coroqnetd"/' \
%{buildroot}%{_sysconfdir}/sysconfig/corosync-qnetd
@ -302,7 +307,6 @@ This package contains corosync test agents.
%package -n corosynclib
Summary: The Corosync Cluster Engine Libraries
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description -n corosynclib
This package contains corosync libraries.
@ -326,7 +330,7 @@ This package contains corosync libraries.
%package -n corosynclib-devel
Summary: The Corosync Cluster Engine Development Kit
Group: Development/Libraries
Requires: corosynclib = %{version}-%{release}
Requires: corosynclib%{?_isa} = %{version}-%{release}
Requires: pkgconfig
Provides: corosync-devel = %{version}
Obsoletes: corosync-devel < 0.92-7
@ -380,7 +384,8 @@ The Corosync Cluster Engine APIs.
Summary: The Corosync Cluster Engine Qdevice
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: corosynclib = %{version}-%{release}
# The automatic dependency overridden in favor of explicit version lock
Requires: corosynclib%{?_isa} = %{version}-%{release}
Requires: nss-tools
%if %{with systemd}
@ -500,7 +505,6 @@ fi
%{_unitdir}/corosync-qnetd.service
%dir %{_datadir}/corosync
%{_datadir}/corosync/corosync-qnetd
%{_tmpfilesdir}/corosync-qnetd.conf
%else
%{_initrddir}/corosync-qnetd
%endif
@ -510,6 +514,12 @@ fi
%endif
%changelog
* Thu Apr 12 2018 Jan Friesse <jfriesse@redhat.com> - 2.4.4-1
- New upstream release
* Fri Oct 20 2017 Jan Friesse <jfriesse@redhat.com> - 2.4.3-1
- New upstream release
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

View file

@ -1 +1 @@
547fa78704da53aa35912be58d31035f corosync-2.4.2.tar.gz
SHA512 (corosync-2.4.4.tar.gz) = df1bc0a452601cd8b6509d2be300c6c5a1906795a429e42718a8c07b82d86c2e973dd8a08b8b2a8cbdbef5c782a2e7881deeb983ce9c221712f7dda2233a4a99