- Fix missing /etc/init.d build issue
This commit is contained in:
parent
1c57e40e91
commit
110a6de19b
@ -52,7 +52,7 @@
|
||||
Name: resource-agents
|
||||
Summary: Open Source HA Reusable Cluster Resource Scripts
|
||||
Version: 4.2.0
|
||||
Release: 2%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
||||
Release: 3%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: https://github.com/ClusterLabs/resource-agents
|
||||
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
|
||||
@ -340,7 +340,11 @@ ccs_update_schema > /dev/null 2>&1 ||:
|
||||
%{_sysconfdir}/ha.d/resource.d/ldirectord
|
||||
%if %{defined _unitdir}
|
||||
%{_unitdir}/ldirectord.service
|
||||
%if 0%{?fedora} > 30
|
||||
%exclude %{_sysconfdir}/rc.d/init.d/ldirectord
|
||||
%else
|
||||
%exclude %{_sysconfdir}/init.d/ldirectord
|
||||
%endif
|
||||
%else
|
||||
%{_sysconfdir}/init.d/ldirectord
|
||||
%endif
|
||||
@ -353,7 +357,7 @@ ccs_update_schema > /dev/null 2>&1 ||:
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Mar 15 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.2.0-2
|
||||
* Fri Mar 15 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.2.0-3
|
||||
- systemd-tmpfiles: change path to /run/resource-agents
|
||||
|
||||
Resolves: rhbz#1688865
|
||||
|
Loading…
Reference in New Issue
Block a user