- Exclude unsupported agents
This commit is contained in:
parent
7370eda4fe
commit
beb8709b76
@ -45,7 +45,7 @@
|
|||||||
Name: resource-agents
|
Name: resource-agents
|
||||||
Summary: Open Source HA Reusable Cluster Resource Scripts
|
Summary: Open Source HA Reusable Cluster Resource Scripts
|
||||||
Version: 4.7.0
|
Version: 4.7.0
|
||||||
Release: 4%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
Release: 5%{?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
|
||||||
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
|
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
|
||||||
@ -197,16 +197,6 @@ make install DESTDIR=%{buildroot}
|
|||||||
# remove docs (there is only one and they should come from doc sections in files)
|
# remove docs (there is only one and they should come from doc sections in files)
|
||||||
rm -rf %{buildroot}/usr/share/doc/resource-agents
|
rm -rf %{buildroot}/usr/share/doc/resource-agents
|
||||||
|
|
||||||
%if %{with linuxha}
|
|
||||||
%if 0%{?suse_version}
|
|
||||||
test -d %{buildroot}/sbin || mkdir %{buildroot}/sbin
|
|
||||||
(
|
|
||||||
cd %{buildroot}/sbin
|
|
||||||
ln -sf /%{_sysconfdir}/init.d/ldirectord rcldirectord
|
|
||||||
) || true
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS COPYING COPYING.GPLv3 COPYING.LGPL ChangeLog
|
%doc AUTHORS COPYING COPYING.GPLv3 COPYING.LGPL ChangeLog
|
||||||
%if %{with linuxha}
|
%if %{with linuxha}
|
||||||
@ -229,10 +219,6 @@ test -d %{buildroot}/sbin || mkdir %{buildroot}/sbin
|
|||||||
%{_usr}/lib/ocf/lib/heartbeat
|
%{_usr}/lib/ocf/lib/heartbeat
|
||||||
|
|
||||||
%{_usr}/lib/ocf/resource.d/heartbeat
|
%{_usr}/lib/ocf/resource.d/heartbeat
|
||||||
%if %{with rgmanager}
|
|
||||||
%{_usr}/lib/ocf/resource.d/redhat
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%{_datadir}/pkgconfig/%{name}.pc
|
%{_datadir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%if %{defined _unitdir}
|
%if %{defined _unitdir}
|
||||||
@ -252,11 +238,7 @@ test -d %{buildroot}/sbin || mkdir %{buildroot}/sbin
|
|||||||
%exclude %{_datadir}/%{name}/ocft/runocft
|
%exclude %{_datadir}/%{name}/ocft/runocft
|
||||||
%exclude %{_datadir}/%{name}/ocft/runocft.prereq
|
%exclude %{_datadir}/%{name}/ocft/runocft.prereq
|
||||||
|
|
||||||
%{_sbindir}/ocf-tester
|
|
||||||
%{_sbindir}/ocft
|
%{_sbindir}/ocft
|
||||||
%if 0%{?suse_version}
|
|
||||||
%{_sbindir}/sfex_*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%{_includedir}/heartbeat
|
%{_includedir}/heartbeat
|
||||||
|
|
||||||
@ -267,32 +249,161 @@ test -d %{buildroot}/sbin || mkdir %{buildroot}/sbin
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{_mandir}/man7/*.7*
|
%{_mandir}/man7/*.7*
|
||||||
%{_mandir}/man8/ocf-tester.8*
|
###
|
||||||
%if 0%{?suse_version}
|
# Unsupported
|
||||||
%{_mandir}/man8/sfex_init.8*
|
###
|
||||||
%endif
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/AoEtarget
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/AudibleAlarm
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/ClusterMon
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/EvmsSCC
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/Evmsd
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/ICP
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/IPaddr
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/LVM
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/LinuxSCSI
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/ManageRAID
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/ManageVE
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/Pure-FTPd
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/Raid1
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/ServeRAID
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/SphinxSearchDaemon
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/Stateful
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/SysInfo
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/VIPArip
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/WAS
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/WAS6
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/WinPopup
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/Xen
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/ZFS
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/anything
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/asterisk
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/clvm
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/dnsupdate
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/docker*
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/eDir88
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/fio
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/ids
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/iface-bridge
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/ipsec
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/iscsi
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/jboss
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/jira
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/kamailio
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/ldirectord
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/lxc
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/lxd-info
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/machine-info
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/mariadb
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/minio
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/mpathpersist
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/mysql-proxy
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/openstack-cinder-volume
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/openstack-floating-ip
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/openstack-info
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/ovsmonitor
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/pgagent
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/pingd
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/pound
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/proftpd
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/rkt
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/rsyslog
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/scsi2reservation
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/sfex
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/sg_persist
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/syslog-ng
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/varnish
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/vmware
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/vsftpd
|
||||||
|
%exclude %{_usr}/lib/ocf/resource.d/heartbeat/zabbixserver
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_AoEtarget.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_AudibleAlarm.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_ClusterMon.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_EvmsSCC.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_Evmsd.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_ICP.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_IPaddr.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_LVM.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_LinuxSCSI.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_ManageRAID.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_ManageVE.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_Pure-FTPd.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_Raid1.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_ServeRAID.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_SphinxSearchDaemon.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_Stateful.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_SysInfo.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_VIPArip.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_WAS.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_WAS6.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_WinPopup.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_Xen.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_ZFS.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_anything.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_asterisk.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_clvm.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_dnsupdate.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_docker*.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_eDir88.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_fio.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_ids.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_iface-bridge.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_ipsec.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_iscsi.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_jboss.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_jira.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_kamailio.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_lxc.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_lxd-info.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_machine-info.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_mariadb.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_minio.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_mpathpersist.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_mysql-proxy.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_openstack-cinder-volume.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_openstack-floating-ip.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_openstack-info.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_ovsmonitor.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_pgagent.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_pingd.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_pound.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_proftpd.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_rkt.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_rsyslog.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_scsi2reservation.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_sfex.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_sg_persist.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_syslog-ng.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_varnish.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_vmware.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_vsftpd.7.gz
|
||||||
|
%exclude %{_mandir}/man7/ocf_heartbeat_zabbixserver.7.gz
|
||||||
|
|
||||||
|
###
|
||||||
|
# Other excluded files.
|
||||||
|
###
|
||||||
|
# This tool has to be updated for the new pacemaker lrmd.
|
||||||
|
%exclude %{_sbindir}/ocf-tester
|
||||||
|
%exclude %{_mandir}/man8/ocf-tester.8*
|
||||||
|
# ldirectord is not supported
|
||||||
|
%exclude /etc/ha.d/resource.d/ldirectord
|
||||||
|
%exclude /etc/rc.d/init.d/ldirectord
|
||||||
|
%exclude %{_unitdir}/ldirectord.service
|
||||||
|
%exclude /etc/logrotate.d/ldirectord
|
||||||
|
%exclude /usr/sbin/ldirectord
|
||||||
|
%exclude %{_mandir}/man8/ldirectord.8.gz
|
||||||
|
|
||||||
# For compatability with pre-existing agents
|
# For compatability with pre-existing agents
|
||||||
%dir %{_sysconfdir}/ha.d
|
%dir %{_sysconfdir}/ha.d
|
||||||
%{_sysconfdir}/ha.d/shellfuncs
|
%{_sysconfdir}/ha.d/shellfuncs
|
||||||
|
|
||||||
%{_libexecdir}/heartbeat
|
%{_libexecdir}/heartbeat
|
||||||
|
|
||||||
%exclude %{_sbindir}/ldirectord
|
|
||||||
%exclude %{_mandir}/man8/ldirectord.8*
|
|
||||||
%exclude %{_sysconfdir}/ha.d/resource.d
|
|
||||||
%exclude %{_sysconfdir}/init.d/ldirectord
|
|
||||||
%exclude %{_sysconfdir}/rc.d/init.d/ldirectord
|
|
||||||
%exclude %{_sysconfdir}/logrotate.d/ldirectord
|
|
||||||
%exclude %{_unitdir}/ldirectord.service
|
|
||||||
|
|
||||||
%if %{with rgmanager}
|
|
||||||
%post -n resource-agents
|
|
||||||
ccs_update_schema > /dev/null 2>&1 ||:
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 3 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.7.0-5
|
||||||
|
- Exclude unsupported agents
|
||||||
|
|
||||||
* Wed Feb 24 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.7.0-4
|
* Wed Feb 24 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.7.0-4
|
||||||
- remove ldirectord subpackage
|
- remove ldirectord subpackage
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user