#30 Fix openssl dependencies for RHEL/ELN
Merged a year ago by sgallagh. Opened a year ago by yselkowitz.
rpms/ yselkowitz/krb5 rawhide  into  rawhide

file modified
+5 -5
@@ -92,9 +92,9 @@ 

  # For autosetup

  BuildRequires: git

  

- %if 0%{?fedora} > 35

+ %if 0%{?fedora} > 35 || 0%{?rhel} >= 9

  # Need KDFs.  This is the "real" version

- BuildRequires: openssl-devel => 1:3.0.0

+ BuildRequires: openssl-devel >= 1:3.0.0

  %else

  # Need KDFs.  This is the backported version

  BuildRequires: openssl-devel >= 1:1.1.1d-4
@@ -129,7 +129,7 @@ 

  

  %package libs

  Summary: The non-admin shared libraries used by Kerberos 5

- %if 0%{?fedora} > 35

+ %if 0%{?fedora} > 35 || 0%{?rhel} >= 9

  Requires: openssl-libs >= 1:3.0.0

  %else

  Requires: openssl-libs >= 1:1.1.1d-4
@@ -229,8 +229,8 @@ 

  Requires: openldap-devel

  Requires: pam-devel

  Requires: redhat-rpm-config

- %if 0%{?fedora} > 35

- Requires: openssl-devel => 1:3.0.0

+ %if 0%{?fedora} > 35 || 0%{?rhel} >= 9

+ Requires: openssl-devel >= 1:3.0.0

  %else

  Requires: openssl-devel >= 1:1.1.1d-4

  Requires: openssl-devel < 1:3.0.0

RHEL 9+ (including ELN, which will become RHEL 10) also have openssl-3.

Also, fix the equal-or-greater-than syntax in a couple places.

ELN scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=95067142

This will be merged by a provenpackager in a few days if there is no response.

Pull-Request has been merged by sgallagh

a year ago
Metadata