import corosync-qdevice-3.0.1-1.el8

This commit is contained in:
CentOS Sources 2021-05-18 02:55:52 -04:00 committed by Andrew Lukoshko
parent 4ac44bb483
commit 97da01430b
3 changed files with 30 additions and 6 deletions

View File

@ -1 +1 @@
abe4bb17a76acd2e1ffa1cdde713c8e999294462 SOURCES/corosync-qdevice-3.0.0.tar.gz
eb969252c86fb6bd7a4c84213d426f40d0eb5148 SOURCES/corosync-qdevice-3.0.1.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/corosync-qdevice-3.0.0.tar.gz
SOURCES/corosync-qdevice-3.0.1.tar.gz

View File

@ -1,6 +1,7 @@
# Conditionals
# Invoke "rpmbuild --without <feature>" or "rpmbuild --with <feature>"
# to disable or enable specific features
%bcond_without userflags
%bcond_with runautogen
%bcond_without systemd
@ -9,8 +10,8 @@
Name: corosync-qdevice
Summary: The Corosync Cluster Engine Qdevice
Version: 3.0.0
Release: 4%{?gitver}%{?dist}
Version: 3.0.1
Release: 1%{?gitver}%{?dist}
License: BSD
URL: https://github.com/corosync/corosync-qdevice
Source0: https://github.com/corosync/corosync-qdevice/releases/download/v%{version}%{?gittarver}/%{name}-%{version}%{?gittarver}.tar.gz
@ -50,6 +51,9 @@ BuildRequires: autoconf automake libtool
%endif
%{configure} \
%if %{with userflags}
--enable-user-flags \
%endif
%if %{with systemd}
--enable-systemd \
%endif
@ -69,10 +73,10 @@ make install DESTDIR=%{buildroot}
rm -rf %{buildroot}%{_docdir}/*
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
# /etc/sysconfig/corosync-qdevice
install -m 644 init/corosync-qdevice.sysconfig.example \
install -p -m 644 init/corosync-qdevice.sysconfig.example \
%{buildroot}%{_sysconfdir}/sysconfig/corosync-qdevice
# /etc/sysconfig/corosync-qnetd
install -m 644 init/corosync-qnetd.sysconfig.example \
install -p -m 644 init/corosync-qnetd.sysconfig.example \
%{buildroot}%{_sysconfdir}/sysconfig/corosync-qnetd
%if %{with systemd}
@ -112,6 +116,7 @@ fi
%endif
%files
%license LICENSE
%dir %{_sysconfdir}/corosync/qdevice
%dir %config(noreplace) %{_sysconfdir}/corosync/qdevice/net
%dir %{_localstatedir}/run/corosync-qdevice
@ -128,6 +133,18 @@ fi
%{_mandir}/man8/corosync-qdevice-net-certutil.8*
%{_mandir}/man8/corosync-qdevice.8*
%package -n corosync-qdevice-devel
Summary: The Corosync Cluster Engine Qdevice Network Development Kit
Requires: pkgconfig
%description -n corosync-qdevice-devel
This package contains files used to develop using
The Corosync Cluster Engine Qdevice
%files -n corosync-qdevice-devel
%license LICENSE
%{_datadir}/pkgconfig/corosync-qdevice.pc
%package -n corosync-qnetd
Summary: The Corosync Cluster Engine Qdevice Network Daemon
Requires: nss-tools
@ -172,6 +189,7 @@ fi
%endif
%files -n corosync-qnetd
%license LICENSE
%dir %config(noreplace) %attr(770, coroqnetd, coroqnetd) %{_sysconfdir}/corosync/qnetd
%dir %attr(770, coroqnetd, coroqnetd) %{_localstatedir}/run/corosync-qnetd
%{_bindir}/corosync-qnetd
@ -188,6 +206,12 @@ fi
%{_mandir}/man8/corosync-qnetd.8*
%changelog
* Mon Nov 23 2020 Jan Friesse <jfriesse@redhat.com> - 3.0.1-1
- Resolves: rhbz#1752386
- Resolves: rhbz#1879351
- New upstream release
* Fri Apr 24 2020 Jan Friesse <jfriesse@redhat.com> 3.0.0-4
- Resolves: rhbz#1827256