Skip to content

Commit

Permalink
Fixes #12132: Missing depedency to use rudder-slapd on rpm systems
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceMacBuche committed Feb 19, 2018
1 parent 98b56e7 commit 4e93749
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions rudder-inventory-ldap/SPECS/rudder-inventory-ldap.spec
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,13 @@ Requires: rsyslog openssl
#Specific requirements

# Reference for suse_version : https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
%if 0%{?suse_version} && 0%{?suse_version} < 1100
BuildRequires: openssl-devel
%endif

%if 0%{?suse_version} && 0%{?suse_version} >= 1100
%if 0%{?suse_version}
Requires: libltdl7
BuildRequires: libopenssl-devel
%endif

%if 0%{?rhel} && 0%{?rhel} < 7
BuildRequires: openssl-devel libtool-ltdl-devel
%endif

%if 0%{?rhel} && 0%{?rhel} >= 7
%if 0%{?rhel}
Requires: libtool-ltdl
BuildRequires: openssl-devel libtool-ltdl-devel
%endif

Expand Down

0 comments on commit 4e93749

Please sign in to comment.