]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: add python3-saml as install dependency 34474/head
authorErnesto Puerta <epuertat@redhat.com>
Thu, 2 Apr 2020 16:26:40 +0000 (18:26 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Wed, 8 Apr 2020 14:53:13 +0000 (16:53 +0200)
`python.*-saml` is required for Ceph-Dashboard SSO support (optional
feature).

Fixes: https://tracker.ceph.com/issues/44721
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit d8d3b33633c0a995aef034fdabc55d47c3872566)

ceph.spec.in

index 01e9ca5b7faca6805b5db087b2b6f1e74d6cee8b..d1e83f76c9942f578c06927f1554fb619657a3fa 100644 (file)
@@ -526,12 +526,16 @@ Requires:       python%{python3_pkgversion}-cherrypy
 Requires:       python%{python3_pkgversion}-jwt
 Requires:       python%{python3_pkgversion}-routes
 Requires:       python%{python3_pkgversion}-werkzeug
+%if 0%{?weak_deps}
+Recommends:     python%{python3_pkgversion}-saml
+%endif
 %endif
 %if 0%{?suse_version}
 Requires:       python%{python3_pkgversion}-CherryPy
 Requires:       python%{python3_pkgversion}-PyJWT
 Requires:       python%{python3_pkgversion}-Routes
 Requires:       python%{python3_pkgversion}-Werkzeug
+Recommends:     python%{python3_pkgversion}-python3-saml
 %endif
 %description mgr-dashboard
 ceph-mgr-dashboard is a manager module, providing a web-based application