Skip to content

Commit 77f5fe8

Browse files
Ensure openssl libs are installed for SSL support, add missing BuildRequires to halt build before starting if deps missing
1 parent 4a0752f commit 77f5fe8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/mongodb_consistent_backup.spec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Prefix: /usr
2121

2222
# Use CentOS SCL python27 (https://www.softwarecollections.org/en/scls/rhscl/python27/) on CentOS 6 (RHEL6 untested)
2323
# On build host: 'yum install python27-python python27-python-devel python27-python-virtualenv gcc'
24-
%{?el6:Requires: python27-python}
25-
%{?el6:BuildRequires: python27-python python27-python-devel python27-python-virtualenv gcc}
24+
%{?el6:Requires: python27-python openssl-libs}
25+
%{?el6:BuildRequires: python27-python python27-python-devel python27-python-virtualenv gcc make libffi-devel openssl-devel}
2626

2727
# Use base python/virtualenv, which should be 2.7 on CentOS/RHEL 7
2828
# On build host: 'yum install python python-devel python-virtualenv gcc'
29-
%{?el7:Requires: python >= 2.7}
30-
%{?el7:BuildRequires: python >= 2.7 python-devel >= 2.7 python-virtualenv gcc}
29+
%{?el7:Requires: python >= 2.7 openssl-libs}
30+
%{?el7:BuildRequires: python >= 2.7 python-devel >= 2.7 python-virtualenv gcc make libffi-devel openssl-devel}
3131

3232

3333
%description

0 commit comments

Comments
 (0)