]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: add python3-saml as install dependency 34381/head
authorErnesto Puerta <epuertat@redhat.com>
Thu, 2 Apr 2020 16:26:40 +0000 (18:26 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Tue, 7 Apr 2020 16:06:26 +0000 (18:06 +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>
ceph.spec.in

index 20f8f87f9250fdf245e9bad3c94ae33afb9f5c5e..e48d43d3b189dacd9f4d2be94b8be9567d8b7160 100644 (file)
@@ -537,12 +537,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