From 053fe18b2943b6f687f4057d7efe5a1b49f76dd3 Mon Sep 17 00:00:00 2001 From: Oyvind Albrigtsen Date: Fri, 23 Jul 2021 14:57:43 +0200 Subject: [PATCH] - Remove chkconfig dependency --- resource-agents.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/resource-agents.spec b/resource-agents.spec index 8183584..b224c68 100644 --- a/resource-agents.spec +++ b/resource-agents.spec @@ -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 -Requires(post): /sbin/chkconfig -Requires(preun):/sbin/chkconfig +%endif +%if 0%{?fedora} < 34 +Requires(post): /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 - 4.8.0-2 +- Remove chkconfig dependency + * Fri Jul 23 2021 Fedora Release Engineering - 4.8.0-1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild