Skip to content

Commit cddf385

Browse files
committed
CLOUDSTACK-9452: add python-argparse dependency on el6,7 rpms
The patchviasocket script was rewritten in Python from PR apache#1533 and made assumptions that Python 2.7 would be available. In case of CentOS, python 2.7 may not be available or installed. This change ensures that python-argparse is installed which is used by this script. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent bdc409c commit cddf385

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packaging/centos63/cloud.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ management, and intelligence in CloudStack.
9696
%package common
9797
Summary: Apache CloudStack common files and scripts
9898
Requires: python
99+
Requires: python-argparse
99100
Obsoletes: cloud-test < 4.1.0
100101
Obsoletes: cloud-scripts < 4.1.0
101102
Obsoletes: cloud-utils < 4.1.0

packaging/centos7/cloud.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ management, and intelligence in CloudStack.
9191
%package common
9292
Summary: Apache CloudStack common files and scripts
9393
Requires: python
94+
Requires: python-argparse
9495
Group: System Environment/Libraries
9596
%description common
9697
The Apache CloudStack files shared between agent and management server

0 commit comments

Comments
 (0)