From a8d1bcf75a49728eb59fb21de403685dfe5ba5e2 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:09:24 +0100 Subject: [PATCH] update to 1.0.12 [release 1.0.12-1mamba;Mon Dec 14 2020] --- glue.spec | 177 +++++++++++++++--------------------------------------- 1 file changed, 49 insertions(+), 128 deletions(-) diff --git a/glue.spec b/glue.spec index 00f600b..7597801 100644 --- a/glue.spec +++ b/glue.spec @@ -1,5 +1,5 @@ Name: glue -Version: 1.0.9 +Version: 1.0.12 Release: 1mamba Summary: A set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack Group: System/Libraries @@ -7,31 +7,36 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://linux-ha.org/wiki/Cluster_Glue -Source: http://hg.linux-ha.org/glue/archive/glue-%{version}.tar.bz2 +Source: https://github.com/ClusterLabs/cluster-glue.git/glue-%{version}/cluster-glue-%{version}.tar.bz2 +#Source: http://hg.linux-ha.org/glue/archive/glue-%{version}.tar.bz2 Patch0: glue-1.0.9-glib-2.32.patch Patch1: glue-1.0.9-gcc-4.9.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libbrotli-devel BuildRequires: libbzip2-devel BuildRequires: libcares-devel BuildRequires: libcurl-devel -BuildRequires: libgcrypt-devel +BuildRequires: libe2fs-devel BuildRequires: libglib-devel -BuildRequires: libgpg-error-devel BuildRequires: libgss-devel -BuildRequires: libidn-devel +BuildRequires: libicu-devel +BuildRequires: libkrb5-devel BuildRequires: libltdl-devel BuildRequires: liblzma-devel BuildRequires: libnetsnmp-devel BuildRequires: libopenldap-devel BuildRequires: libopenssl-devel +BuildRequires: libpsl-devel BuildRequires: librtmp-devel -BuildRequires: libsasl-devel +BuildRequires: libsasl2-devel BuildRequires: libssh2-devel BuildRequires: libuuid-devel BuildRequires: libxml2-devel BuildRequires: libz-devel +BuildRequires: libzstd-devel BuildRequires: perl-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} @@ -58,14 +63,14 @@ This package contains libraries and header files for developing applications tha %debug_package %prep -%setup -q -n Reusable-Cluster-Components-%{name}--glue-%{version} -%patch0 -p1 -%patch1 -p1 +%setup -q -n cluster-glue-%{version} +#%patch0 -p1 +#%patch1 -p1 +./autogen.sh %build -./autogen.sh %configure \ - CFLAGS="-Wno-error=suggest-attribute=format -Wno-error=deprecated-declarations" + --disable-fatal-warnings %make @@ -76,47 +81,38 @@ This package contains libraries and header files for developing applications tha %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%preun +%systemd_preun logd +: + +%post +%systemd_post logd +: + +%postun +%systemd_postun logd +: + %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) -%{_sysconfdir}/init.d/logd +#%{_sysconfdir}/init.d/logd %{_sbindir}/cibsecret %{_sbindir}/ha_logger %{_sbindir}/hb_report %{_sbindir}/lrmadmin %{_sbindir}/meatclient -%{_sbindir}/sbd +#%{_sbindir}/sbd %{_sbindir}/stonith -%{_datadir}/cluster-glue/combine-logs.pl +%{_unitdir}/logd.service +%dir %{_datadir}/cluster-glue +#%{_datadir}/cluster-glue/combine-logs.pl %{_datadir}/cluster-glue/ha_cf_support.sh %{_datadir}/cluster-glue/ha_log.sh -%{_datadir}/cluster-glue/lrmtest/LRMBasicSanityCheck -%{_datadir}/cluster-glue/lrmtest/README.regression -%{_datadir}/cluster-glue/lrmtest/defaults -%{_datadir}/cluster-glue/lrmtest/descriptions -%{_datadir}/cluster-glue/lrmtest/evaltest.sh -%{_datadir}/cluster-glue/lrmtest/language -%{_datadir}/cluster-glue/lrmtest/lrmadmin-interface -%{_datadir}/cluster-glue/lrmtest/lrmregtest -%{_datadir}/cluster-glue/lrmtest/lrmregtest-heartbeat -%{_datadir}/cluster-glue/lrmtest/lrmregtest-lsb -%{_datadir}/cluster-glue/lrmtest/regression.sh -%{_datadir}/cluster-glue/lrmtest/testcases/BSC -%{_datadir}/cluster-glue/lrmtest/testcases/basicset -%{_datadir}/cluster-glue/lrmtest/testcases/common.filter -%{_datadir}/cluster-glue/lrmtest/testcases/metadata -%{_datadir}/cluster-glue/lrmtest/testcases/metadata.exp -%{_datadir}/cluster-glue/lrmtest/testcases/ra-list.sh -%{_datadir}/cluster-glue/lrmtest/testcases/rscexec -%{_datadir}/cluster-glue/lrmtest/testcases/rscexec.exp -%{_datadir}/cluster-glue/lrmtest/testcases/rscmgmt -%{_datadir}/cluster-glue/lrmtest/testcases/rscmgmt.exp -%{_datadir}/cluster-glue/lrmtest/testcases/rscmgmt.log_filter -%{_datadir}/cluster-glue/lrmtest/testcases/stonith -%{_datadir}/cluster-glue/lrmtest/testcases/stonith.exp -%{_datadir}/cluster-glue/lrmtest/testcases/xmllint.sh +%dir %{_datadir}/cluster-glue/lrmtest +%{_datadir}/cluster-glue/lrmtest/* %{_datadir}/cluster-glue/openais_conf_support.sh %{_datadir}/cluster-glue/utillib.sh %{_mandir}/man1/ha_logger.1* @@ -143,98 +139,20 @@ This package contains libraries and header files for developing applications tha %{_libdir}/heartbeat/logtest %{_libdir}/heartbeat/lrmd %dir %{_libdir}/heartbeat/plugins -%{_libdir}/heartbeat/plugins/InterfaceMgr/generic.a -%{_libdir}/heartbeat/plugins/InterfaceMgr/generic.la -%{_libdir}/heartbeat/plugins/InterfaceMgr/generic.so -%{_libdir}/heartbeat/plugins/RAExec/heartbeat.a -%{_libdir}/heartbeat/plugins/RAExec/heartbeat.la -%{_libdir}/heartbeat/plugins/RAExec/heartbeat.so -%{_libdir}/heartbeat/plugins/RAExec/lsb.a -%{_libdir}/heartbeat/plugins/RAExec/lsb.la -%{_libdir}/heartbeat/plugins/RAExec/lsb.so -%{_libdir}/heartbeat/plugins/RAExec/ocf.a -%{_libdir}/heartbeat/plugins/RAExec/ocf.la -%{_libdir}/heartbeat/plugins/RAExec/ocf.so -%{_libdir}/heartbeat/plugins/test/test.a -%{_libdir}/heartbeat/plugins/test/test.la -%{_libdir}/heartbeat/plugins/test/test.so +%dir %{_libdir}/heartbeat/plugins/compress +%{_libdir}/heartbeat/plugins/compress/* +%dir %{_libdir}/heartbeat/plugins/InterfaceMgr +%{_libdir}/heartbeat/plugins/InterfaceMgr/* +%dir %{_libdir}/heartbeat/plugins/RAExec +%{_libdir}/heartbeat/plugins/RAExec/* +%dir %{_libdir}/heartbeat/plugins/test +%{_libdir}/heartbeat/plugins/test/* %{_libdir}/heartbeat/transient-test.sh %dir %{_libdir}/stonith %dir %{_libdir}/stonith/plugins -%{_libdir}/stonith/plugins/external/drac5 -%{_libdir}/stonith/plugins/external/dracmc-telnet -%{_libdir}/stonith/plugins/external/hetzner -%{_libdir}/stonith/plugins/external/hmchttp -%{_libdir}/stonith/plugins/external/ibmrsa -%{_libdir}/stonith/plugins/external/ibmrsa-telnet -%{_libdir}/stonith/plugins/external/ipmi -%{_libdir}/stonith/plugins/external/ippower9258 -%{_libdir}/stonith/plugins/external/kdumpcheck -%{_libdir}/stonith/plugins/external/libvirt -%{_libdir}/stonith/plugins/external/nut -%{_libdir}/stonith/plugins/external/rackpdu -%{_libdir}/stonith/plugins/external/riloe -%{_libdir}/stonith/plugins/external/sbd -%{_libdir}/stonith/plugins/external/ssh -%{_libdir}/stonith/plugins/external/vcenter -%{_libdir}/stonith/plugins/external/vmware -%{_libdir}/stonith/plugins/external/xen0 -%{_libdir}/stonith/plugins/external/xen0-ha -%{_libdir}/stonith/plugins/stonith2/apcmaster.a -%{_libdir}/stonith/plugins/stonith2/apcmaster.la -%{_libdir}/stonith/plugins/stonith2/apcmaster.so -%{_libdir}/stonith/plugins/stonith2/apcmastersnmp.a -%{_libdir}/stonith/plugins/stonith2/apcmastersnmp.la -%{_libdir}/stonith/plugins/stonith2/apcmastersnmp.so -%{_libdir}/stonith/plugins/stonith2/apcsmart.a -%{_libdir}/stonith/plugins/stonith2/apcsmart.la -%{_libdir}/stonith/plugins/stonith2/apcsmart.so -%{_libdir}/stonith/plugins/stonith2/baytech.a -%{_libdir}/stonith/plugins/stonith2/baytech.la -%{_libdir}/stonith/plugins/stonith2/baytech.so -%{_libdir}/stonith/plugins/stonith2/cyclades.a -%{_libdir}/stonith/plugins/stonith2/cyclades.la -%{_libdir}/stonith/plugins/stonith2/cyclades.so -%{_libdir}/stonith/plugins/stonith2/drac3.a -%{_libdir}/stonith/plugins/stonith2/drac3.la -%{_libdir}/stonith/plugins/stonith2/drac3.so -%{_libdir}/stonith/plugins/stonith2/external.a -%{_libdir}/stonith/plugins/stonith2/external.la -%{_libdir}/stonith/plugins/stonith2/external.so -%{_libdir}/stonith/plugins/stonith2/ibmhmc.a -%{_libdir}/stonith/plugins/stonith2/ibmhmc.la -%{_libdir}/stonith/plugins/stonith2/ibmhmc.so -%{_libdir}/stonith/plugins/stonith2/meatware.a -%{_libdir}/stonith/plugins/stonith2/meatware.la -%{_libdir}/stonith/plugins/stonith2/meatware.so -%{_libdir}/stonith/plugins/stonith2/null.a -%{_libdir}/stonith/plugins/stonith2/null.la -%{_libdir}/stonith/plugins/stonith2/null.so -%{_libdir}/stonith/plugins/stonith2/nw_rpc100s.a -%{_libdir}/stonith/plugins/stonith2/nw_rpc100s.la -%{_libdir}/stonith/plugins/stonith2/nw_rpc100s.so -%{_libdir}/stonith/plugins/stonith2/rcd_serial.a -%{_libdir}/stonith/plugins/stonith2/rcd_serial.la -%{_libdir}/stonith/plugins/stonith2/rcd_serial.so -%{_libdir}/stonith/plugins/stonith2/rhcs.a -%{_libdir}/stonith/plugins/stonith2/rhcs.la -%{_libdir}/stonith/plugins/stonith2/rhcs.so -%{_libdir}/stonith/plugins/stonith2/ribcl.py -%{_libdir}/stonith/plugins/stonith2/rps10.a -%{_libdir}/stonith/plugins/stonith2/rps10.la -%{_libdir}/stonith/plugins/stonith2/rps10.so -%{_libdir}/stonith/plugins/stonith2/ssh.a -%{_libdir}/stonith/plugins/stonith2/ssh.la -%{_libdir}/stonith/plugins/stonith2/ssh.so -%{_libdir}/stonith/plugins/stonith2/suicide.a -%{_libdir}/stonith/plugins/stonith2/suicide.la -%{_libdir}/stonith/plugins/stonith2/suicide.so -%{_libdir}/stonith/plugins/stonith2/wti_mpc.a -%{_libdir}/stonith/plugins/stonith2/wti_mpc.la -%{_libdir}/stonith/plugins/stonith2/wti_mpc.so -%{_libdir}/stonith/plugins/stonith2/wti_nps.a -%{_libdir}/stonith/plugins/stonith2/wti_nps.la -%{_libdir}/stonith/plugins/stonith2/wti_nps.so +%{_libdir}/stonith/plugins/external/* +%dir %{_libdir}/stonith/plugins/stonith2 +%{_libdir}/stonith/plugins/stonith2/* %{_libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper %doc AUTHORS COPYING.LIB @@ -271,5 +189,8 @@ This package contains libraries and header files for developing applications tha %doc ChangeLog NEWS README %changelog +* Mon Dec 14 2020 Silvan Calarco 1.0.12-1mamba +- update to 1.0.12 + * Tue May 27 2014 Silvan Calarco 1.0.9-1mamba - package created using the webbuild interface