- Fix build issues
This commit is contained in:
parent
110a6de19b
commit
e6a7153fd7
@ -52,7 +52,7 @@
|
||||
Name: resource-agents
|
||||
Summary: Open Source HA Reusable Cluster Resource Scripts
|
||||
Version: 4.2.0
|
||||
Release: 3%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
||||
Release: 4%{?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}
|
||||
@ -64,8 +64,9 @@ Provides: heartbeat-resources = %{version}
|
||||
|
||||
# Build dependencies
|
||||
BuildRequires: automake autoconf pkgconfig gcc
|
||||
BuildRequires: perl-interpreter perl-generators python2-devel
|
||||
BuildRequires: perl-interpreter python3-devel
|
||||
BuildRequires: libxslt glib2-devel
|
||||
BuildRequires: systemd
|
||||
BuildRequires: which
|
||||
|
||||
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
|
||||
@ -340,7 +341,7 @@ ccs_update_schema > /dev/null 2>&1 ||:
|
||||
%{_sysconfdir}/ha.d/resource.d/ldirectord
|
||||
%if %{defined _unitdir}
|
||||
%{_unitdir}/ldirectord.service
|
||||
%if 0%{?fedora} > 30
|
||||
%if 0%{?fedora} > 29
|
||||
%exclude %{_sysconfdir}/rc.d/init.d/ldirectord
|
||||
%else
|
||||
%exclude %{_sysconfdir}/init.d/ldirectord
|
||||
@ -357,6 +358,9 @@ ccs_update_schema > /dev/null 2>&1 ||:
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri May 24 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.2.0-4
|
||||
- Fix build issues
|
||||
|
||||
* Fri Mar 15 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.2.0-3
|
||||
- systemd-tmpfiles: change path to /run/resource-agents
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user