Rebase to resource-agents 3.9.7 upstream release.
This commit is contained in:
parent
2481a11185
commit
3ec8f6be0e
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ resource-agents-3.0.14.tar.bz2
|
|||||||
/ClusterLabs-resource-agents-39c1f6e.tar.gz
|
/ClusterLabs-resource-agents-39c1f6e.tar.gz
|
||||||
/ClusterLabs-resource-agents-1e3e9db.tar.gz
|
/ClusterLabs-resource-agents-1e3e9db.tar.gz
|
||||||
/ClusterLabs-resource-agents-f79322c.tar.gz
|
/ClusterLabs-resource-agents-f79322c.tar.gz
|
||||||
|
/ClusterLabs-resource-agents-e697f43.tar.gz
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
%global upstream_prefix ClusterLabs-resource-agents
|
%global upstream_prefix ClusterLabs-resource-agents
|
||||||
%global upstream_version f79322c
|
%global upstream_version e697f43
|
||||||
|
|
||||||
# SSLeay (required by ldirectord)
|
# SSLeay (required by ldirectord)
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
Name: resource-agents
|
Name: resource-agents
|
||||||
Summary: Open Source HA Reusable Cluster Resource Scripts
|
Summary: Open Source HA Reusable Cluster Resource Scripts
|
||||||
Version: 3.9.6
|
Version: 3.9.7
|
||||||
Release: 2%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}.2
|
Release: 1%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: https://github.com/ClusterLabs/resource-agents
|
URL: https://github.com/ClusterLabs/resource-agents
|
||||||
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
|
||||||
@ -129,6 +129,10 @@ Requires: perl-Net-IMAP-Simple-SSL
|
|||||||
Requires(post): /sbin/chkconfig
|
Requires(post): /sbin/chkconfig
|
||||||
Requires(preun):/sbin/chkconfig
|
Requires(preun):/sbin/chkconfig
|
||||||
%endif
|
%endif
|
||||||
|
%if %{defined systemd_requires}
|
||||||
|
BuildRequires: systemd
|
||||||
|
%{?systemd_requires}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description -n ldirectord
|
%description -n ldirectord
|
||||||
The Linux Director Daemon (ldirectord) was written by Jacob Rief.
|
The Linux Director Daemon (ldirectord) was written by Jacob Rief.
|
||||||
@ -176,6 +180,9 @@ export CFLAGS
|
|||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
%{conf_opt_fatal} \
|
%{conf_opt_fatal} \
|
||||||
|
%if %{defined _unitdir}
|
||||||
|
--with-systemdsystemunitdir=%{_unitdir} \
|
||||||
|
%endif
|
||||||
--with-pkg-name=%{name} \
|
--with-pkg-name=%{name} \
|
||||||
--with-ras-set=%{rasset}
|
--with-ras-set=%{rasset}
|
||||||
|
|
||||||
@ -239,6 +246,9 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/%{name}/ocft/caselib
|
%{_datadir}/%{name}/ocft/caselib
|
||||||
%{_datadir}/%{name}/ocft/README
|
%{_datadir}/%{name}/ocft/README
|
||||||
%{_datadir}/%{name}/ocft/README.zh_CN
|
%{_datadir}/%{name}/ocft/README.zh_CN
|
||||||
|
%{_datadir}/%{name}/ocft/helpers.sh
|
||||||
|
%{_datadir}/%{name}/ocft/runocft
|
||||||
|
%{_datadir}/%{name}/ocft/runocft.prereq
|
||||||
|
|
||||||
%{_sbindir}/ocf-tester
|
%{_sbindir}/ocf-tester
|
||||||
%{_sbindir}/ocft
|
%{_sbindir}/ocft
|
||||||
@ -273,12 +283,24 @@ ccs_update_schema > /dev/null 2>&1 ||:
|
|||||||
|
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
%preun -n ldirectord
|
%preun -n ldirectord
|
||||||
|
%if %{defined _unitdir}
|
||||||
|
%systemd_preun ldirectord.service
|
||||||
|
%else
|
||||||
/sbin/chkconfig --del ldirectord
|
/sbin/chkconfig --del ldirectord
|
||||||
%postun -n ldirectord -p /sbin/ldconfig
|
%endif
|
||||||
|
%postun -n ldirectord
|
||||||
|
/sbin/ldconfig
|
||||||
|
%if %{defined _unitdir}
|
||||||
|
%systemd_postun_with_restart ldirectord.service
|
||||||
|
%endif
|
||||||
%post -n ldirectord
|
%post -n ldirectord
|
||||||
|
%if %{defined _unitdir}
|
||||||
|
%systemd_post ldirectord.service
|
||||||
|
%else
|
||||||
/sbin/chkconfig --add ldirectord
|
/sbin/chkconfig --add ldirectord
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with linuxha}
|
%if %{with linuxha}
|
||||||
%files -n ldirectord
|
%files -n ldirectord
|
||||||
@ -290,7 +312,12 @@ ccs_update_schema > /dev/null 2>&1 ||:
|
|||||||
%dir %{_sysconfdir}/ha.d
|
%dir %{_sysconfdir}/ha.d
|
||||||
%dir %{_sysconfdir}/ha.d/resource.d
|
%dir %{_sysconfdir}/ha.d/resource.d
|
||||||
%{_sysconfdir}/ha.d/resource.d/ldirectord
|
%{_sysconfdir}/ha.d/resource.d/ldirectord
|
||||||
|
%if %{defined _unitdir}
|
||||||
|
%{_unitdir}/ldirectord.service
|
||||||
|
%exclude %{_sysconfdir}/init.d/ldirectord
|
||||||
|
%else
|
||||||
%{_sysconfdir}/init.d/ldirectord
|
%{_sysconfdir}/init.d/ldirectord
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
/sbin/rcldirectord
|
/sbin/rcldirectord
|
||||||
%endif
|
%endif
|
||||||
@ -300,6 +327,9 @@ ccs_update_schema > /dev/null 2>&1 ||:
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 8 2016 Oyvind Albrigtsen <oalbrigt@redhat.com> - 3.9.7-1
|
||||||
|
- Rebase to resource-agents 3.9.7 upstream release.
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.6-2.2
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.6-2.2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user