]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rpm: use %_python_buildid to specify python-remoto dep
authorNathan Cutler <ncutler@suse.com>
Tue, 26 Feb 2019 09:25:56 +0000 (10:25 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 26 Feb 2019 09:25:56 +0000 (10:25 +0100)
Without this patch, the Python 2 version of python-remoto is always installed,
even on Python 3 systems.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index d9db34b3eea889c252840ec2048cdc32ca83c3e7..e9c0a9d8c2e36a7f723f714b102b6ff0292cbed4 100644 (file)
@@ -525,7 +525,7 @@ BuildArch:  noarch
 Group:          System/Filesystems
 %endif
 Requires:       ceph-mgr = %{_epoch_prefix}%{version}-%{release}
-Requires:       python-remoto
+Requires:       python%{_python_buildid}-remoto
 %description mgr-ssh
 ceph-mgr-ssh is a ceph-mgr module for orchestration functions using
 direct SSH connections for management operations.