- Remove chkconfig dependency

This commit is contained in:
Oyvind Albrigtsen 2021-07-23 14:57:43 +02:00
parent 46fd88943e
commit 053fe18b29

View File

@ -52,7 +52,7 @@
Name: resource-agents
Summary: Open Source HA Reusable Cluster Resource Scripts
Version: 4.8.0
Release: 1%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}.1
Release: 2%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
License: GPLv2+ and LGPLv2+
URL: https://github.com/ClusterLabs/resource-agents
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
@ -146,9 +146,6 @@ service managers.
%package -n ldirectord
License: GPLv2+
Summary: A Monitoring Daemon for Maintaining High Availability Resources
%if 0%{?fedora} || 0%{?centos} || 0%{?rhel}
%else
%endif
Obsoletes: heartbeat-ldirectord <= %{version}
Provides: heartbeat-ldirectord = %{version}
%if 0%{?fedora} > 18 || 0%{?centos} > 6 || 0%{?rhel} > 6
@ -158,8 +155,10 @@ Requires: %{SSLeay} perl-libwww-perl perl-MailTools
Requires: ipvsadm logrotate
%if 0%{?fedora}
Requires: perl-Net-IMAP-Simple-SSL perl-IO-Socket-INET6
%endif
%if 0%{?fedora} < 34
Requires(post): /sbin/chkconfig
Requires(preun):/sbin/chkconfig
Requires(preun): /sbin/chkconfig
%endif
%if %{systemd_native}
BuildRequires: systemd
@ -380,6 +379,9 @@ ccs_update_schema > /dev/null 2>&1 ||:
%endif
%changelog
* Fri Jul 23 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.8.0-2
- Remove chkconfig dependency
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.0-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild