diff --git a/corosync-qdevice-3.0.0.tar.gz b/corosync-qdevice-3.0.0.tar.gz index fc093ab..a54e9ea 100644 Binary files a/corosync-qdevice-3.0.0.tar.gz and b/corosync-qdevice-3.0.0.tar.gz differ diff --git a/corosync-qdevice.spec b/corosync-qdevice.spec index 1a9004a..08f9286 100644 --- a/corosync-qdevice.spec +++ b/corosync-qdevice.spec @@ -10,7 +10,7 @@ Name: corosync-qdevice Summary: The Corosync Cluster Engine Qdevice Version: 3.0.0 -Release: 2%{?gitver}%{?dist} +Release: 10 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 @@ -59,20 +59,20 @@ BuildRequires: autoconf automake libtool --with-systemddir=%{_unitdir} \ --docdir=%{_docdir} -make %{_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} +%make_install ## tree fixup # drop docs and html docs for now 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 +112,7 @@ fi %endif %files +%license LICENSE %dir %{_sysconfdir}/corosync/qdevice %dir %config(noreplace) %{_sysconfdir}/corosync/qdevice/net %dir %{_localstatedir}/run/corosync-qdevice @@ -172,6 +173,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,7 +190,8 @@ fi %{_mandir}/man8/corosync-qnetd.8* %changelog +* Fri Oct 30 2020 jiangxinyu - 3.0.0-10 +- Upgrade the corosync-qdevice package version to 3.0.0-10 + * Thu Apr 16 2020 houjian - 3.0.0-2 - Init corosync-qdevice project - -