3 |
|
|
4 |
%define pkg_name openldap |
%define pkg_name openldap |
5 |
%define version 2.4.33 |
%define version 2.4.33 |
6 |
%define rel 3 |
%define rel 4 |
7 |
%global beta %{nil} |
%global beta %{nil} |
8 |
|
|
9 |
%{?!mklibname:%{error:You are missing macros, build will fail, see http://wiki.mandriva.com/en/Projects/BackPorts#Building_Mandriva_SRPMS_on_other_distributions}} |
%{?!mklibname:%{error:You are missing macros, build will fail, see http://wiki.mandriva.com/en/Projects/BackPorts#Building_Mandriva_SRPMS_on_other_distributions}} |
301 |
%if %{?notmdk:1}%{?!notmdk:0} |
%if %{?notmdk:1}%{?!notmdk:0} |
302 |
Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd coreutils |
Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd coreutils |
303 |
%else |
%else |
304 |
|
%if %{?mgaversion}%{?!mgaversion:0} >= 3 |
305 |
|
Requires(post): systemd >= %{systemd_required_version} |
306 |
|
%endif |
307 |
Requires(pre): rpm-helper >= 0.23 coreutils |
Requires(pre): rpm-helper >= 0.23 coreutils |
308 |
BuildRequires: rpm-helper >= 0.23 |
BuildRequires: rpm-helper >= 0.23 |
309 |
%endif |
%endif |