92 |
%endif |
%endif |
93 |
|
|
94 |
# This picks up libperl.so as a Requires, so we add this versioned one |
# This picks up libperl.so as a Requires, so we add this versioned one |
95 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
#Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
96 |
|
|
97 |
# for the init script |
# for the init script |
98 |
Requires(post): systemd-units |
Requires(post): systemd-units |
167 |
%if %{use_openldap} |
%if %{use_openldap} |
168 |
OPENLDAP_FLAG="--with-openldap" |
OPENLDAP_FLAG="--with-openldap" |
169 |
%endif |
%endif |
170 |
%configure --enable-autobind \ |
%configure2_5x --enable-autobind \ |
171 |
--with-selinux $OPENLDAP_FLAG $TMPFILES_FLAG \ |
--with-selinux $OPENLDAP_FLAG $TMPFILES_FLAG \ |
172 |
--with-systemdsystemunitdir=%{_unitdir} \ |
--with-systemdsystemunitdir=%{_unitdir} \ |
173 |
--with-systemdsystemconfdir=%{_sysconfdir}/systemd/system \ |
--with-systemdsystemconfdir=%{_sysconfdir}/systemd/system \ |
174 |
--with-systemdgroupname=%{groupname} |
--with-systemdgroupname=%{groupname} \ |
175 |
|
LDFLAGS=-L%{perl_archlib}/CORE |
176 |
|
|
177 |
# Generate symbolic info for debuggers |
# Generate symbolic info for debuggers |
178 |
export XCFLAGS=$RPM_OPT_FLAGS |
export XCFLAGS=$RPM_OPT_FLAGS |
179 |
|
|
180 |
|
|
181 |
%make |
%make |
182 |
|
|
183 |
|
|