|
|
@ -47,8 +47,10 @@ BuildRequires: gcc |
|
|
|
BuildRequires: lua-devel |
|
|
|
BuildRequires: lua-devel |
|
|
|
BuildRequires: openldap-devel |
|
|
|
BuildRequires: openldap-devel |
|
|
|
# for tests |
|
|
|
# for tests |
|
|
|
|
|
|
|
%if 0%{?rhel} < 8 |
|
|
|
BuildRequires: lua |
|
|
|
BuildRequires: lua |
|
|
|
BuildRequires: openldap-servers |
|
|
|
BuildRequires: openldap-servers |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
%description |
|
|
|
%description |
|
|
|
LuaLDAP is a simple interface from Lua to an LDAP client. It enables a Lua |
|
|
|
LuaLDAP is a simple interface from Lua to an LDAP client. It enables a Lua |
|
|
@ -104,8 +106,11 @@ make %{?_smp_mflags} |
|
|
|
popd |
|
|
|
popd |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# RHEL 8 has no openldap-servers package, so skip tests |
|
|
|
|
|
|
|
%if 0%{?rhel} < 8 |
|
|
|
%check |
|
|
|
%check |
|
|
|
make check |
|
|
|
make check |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
%install |
|
|
|
make install DESTDIR=%{buildroot} |
|
|
|
make install DESTDIR=%{buildroot} |
|
|
|