diff --git a/resource-agents-4.8.0.tar.gz b/resource-agents-4.8.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a5fb98d2a29fb0e45f94b4771ea4e4f5a7950a77 Binary files /dev/null and b/resource-agents-4.8.0.tar.gz differ diff --git a/resource-agents.spec b/resource-agents.spec index 3a7d32b7d26d80f2b527f31736f65828a37b06ca..34fa9d6305e7d13bad39d4fa82f2a14b4de3e9c7 100644 --- a/resource-agents.spec +++ b/resource-agents.spec @@ -1,17 +1,23 @@ Name: resource-agents Summary: Open Source HA Reusable Cluster Resource Scripts -Version: 4.2.0 -Release: 4 +Version: 4.8.0 +Release: 1 License: GPLv2+ and LGPLv2+ URL: https://github.com/ClusterLabs/resource-agents -Source0: https://github.com/ClusterLabs/resource-agents/archive/v4.2.0.tar.gz +Source0: https://github.com/ClusterLabs/resource-agents/archive/v4.8.0.tar.gz#/%{name}-%{version}.tar.gz Patch0000: fix-failed-to-parse-pid-from-pid-file.patch Obsoletes: heartbeat-resources <= %{version} Provides: heartbeat-resources = %{version} + BuildRequires: automake autoconf pkgconfig gcc perl-interpreter perl-generators python3-devel BuildRequires: libxslt glib2-devel which docbook-style-xsl docbook-dtds Requires: bash grep sed gawk procps-ng hostname net-tools psmisc util-linux Requires: e2fsprogs xfsprogs nfs-utils cifs-utils iproute lvm2 + +%ifarch x86_64 +BuildRequires: python3-google-api-client python3-pyroute2 +%endif + %description Resource agent is a standardized interface for a cluster resource. In translates a standard set of operations into steps specific to the resource or application, and interprets their results as success or failure. @@ -73,6 +79,7 @@ export CFLAGS="$(echo '%{optflags}')" %dir %{_sysconfdir}/ha.d %{_sysconfdir}/ha.d/shellfuncs %{_libexecdir}/heartbeat +%{_datadir}/pkgconfig/resource-agents.pc %preun -n ldirectord %systemd_preun ldirectord.service @@ -93,6 +100,7 @@ export CFLAGS="$(echo '%{optflags}')" %{_sysconfdir}/ha.d/resource.d/ldirectord %{_unitdir}/ldirectord.service %exclude %{_sysconfdir}/init.d/ldirectord +%{_usr}/lib/ocf/resource.d/heartbeat/ldirectord %files help %doc heartbeat/README.galera ChangeLog @@ -101,6 +109,9 @@ export CFLAGS="$(echo '%{optflags}')" %{_mandir}/man8/{ocf-tester.8*,ldirectord.8*} %changelog +* Wed May 31 2023 jiangxinyu - 4.8.0-1 +- Upgrade package to 4.8.0 + * Wed Aug 25 2021 caodongxia - 4.2.0-4 - Fix failed to parse pid from pid-file @@ -108,4 +119,4 @@ export CFLAGS="$(echo '%{optflags}')" - disable python2 * Thu Mar 5 2020 shijian - 4.2.0-2 -- Package init +- Package init \ No newline at end of file diff --git a/v4.2.0.tar.gz b/v4.2.0.tar.gz deleted file mode 100644 index d4e1043579e90b8ebf4fac3981660550dea89dd7..0000000000000000000000000000000000000000 Binary files a/v4.2.0.tar.gz and /dev/null differ