#2 Change drbd-pacemaker to recommend instead of require pacemaker on EPEL8/EPEL9
Opened 22 days ago by carlwgeorge. Modified 22 days ago
rpms/ carlwgeorge/drbd epel-pacemaker-recommends  into  rawhide

file modified
+14 -1
@@ -1,7 +1,7 @@ 

  Name: drbd

  Summary: DRBD user-land tools and scripts

  Version: 9.21.1

- Release: 1%{?dist}

+ Release: 2%{?dist}

  Source0: https://pkg.linbit.com/downloads/%{name}/utils/%{name}-utils-%{version}.tar.gz

  Patch0: drbd-utils-9.12.2-disable_xsltproc_network_read.patch

  Patch1: drbd-utils-9.15.0-make_configure-workaround.patch
@@ -160,7 +160,17 @@ 

  %package pacemaker

  Summary: Pacemaker resource agent for DRBD

  Requires: %{name}-utils = %{version}-%{release}

+ # pacemaker is in the RHEL highavailability channel in EL8 and EL9.  EPEL

+ # packages dependencies must be in the "target base" (baseos, appstream, crb).

+ # Weak dependencies are allowed on packages from other channels, so use a

+ # recommends instead of a requires on EPEL8 and EPEL9.

+ # https://docs.fedoraproject.org/en-US/epel/epel-packaging/#package_dependencies

+ # https://bugzilla.redhat.com/show_bug.cgi?id=2086146

+ %if %{defined rhel} && 0%{?rhel} >= 8

+ Recommends: pacemaker

+ %else

  Requires: pacemaker

+ %endif

  License: GPLv2

  

  %description pacemaker
@@ -215,6 +225,9 @@ 

  %systemd_preun drbd.service

  

  %changelog

+ * Tue Jun 14 2022 Carl George <carl@george.computer> - 9.21.1-2

+ - Change drbd-pacemaker to recommend instead of require pacemaker on EPEL8/EPEL9 rhbz#2086146

+ 

  * Sun Jun  5 2022 Peter Hanecak <hany@hany.sk> - 9.21.1-1

  - Upstream release of 9.21.1

  

pacemaker is in the RHEL highavailability channel in EL8 and EL9. EPEL packages dependencies must be in the "target base" (baseos, appstream, crb). Weak dependencies are allowed on packages from other channels, so use a recommends instead of a requires on EPEL8 and EPEL9.

https://docs.fedoraproject.org/en-US/epel/epel-packaging/#package_dependencies

Resolves: rhbz#2086146

Metadata