]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rpm: fix pyOpenSSL requirement for RHEL 8
authorKen Dreyer <kdreyer@redhat.com>
Mon, 18 Feb 2019 22:38:17 +0000 (15:38 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 21 Feb 2019 22:03:51 +0000 (15:03 -0700)
commit217c3f4ce52ec4d76ab7dbc3c1de8d8632b54b7b
tree130e4d2e81551b9ea2d9bfc7f6fa0a2d8db28f30
parent2273bfce4249357c556c65e47da4d9409e9bc4f3
rpm: fix pyOpenSSL requirement for RHEL 8

On RHEL 7, this package is named "pyOpenSSL", but on RHEL 8, Fedora, and
SUSE, it is named "python3-pyOpenSSL".

Prior to this change, the RHEL conditional was applying to both RHEL 7
and 8, so we would fail to resolve the "pyOpenSSL" package dependency on
RHEL 8.

Update the RPM conditionals to use "pyOpenSSL" on RHEL 7 and
"python3-pyOpenSSL" on all other distributions.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
ceph.spec.in