Procházet zdrojové kódy

fix indentation, dependency style and dependency for libraries

Ralf S. Engelschall před 20 roky
rodič
revize
c1dc35c064
1 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. 5 5
      nagios/nagios.spec

+ 5 - 5
nagios/nagios.spec

@@ -42,7 +42,7 @@ Release:      20060123
 #   package options
 %option       with_eperl  yes
 %option       with_fsl    yes
-%option       with_ldap    yes
+%option       with_ldap   yes
 
 #   list of sources
 Source0:      http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-%{V_nagios}.tar.gz
@@ -55,16 +55,16 @@ Patch0:       nagios.patch
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-%if "%{with_ldap}" == "yes"
-BuildPreReq:  OpenPKG, openpkg >= 20040130, traceroute, gcc, openldap
-%else
 BuildPreReq:  OpenPKG, openpkg >= 20040130, traceroute, gcc
-%endif
 PreReq:       OpenPKG, openpkg >= 20040130, traceroute, apache, MTA
 BuildPreReq:  zlib, jpeg, png, gd
 PreReq:       zlib, jpeg, png, gd
 BuildPreReq:  openssl, openssh, coreutils, inetutils, fping
 PreReq:       openssl, openssh, coreutils, inetutils, fping
+%if "%{with_ldap}" == "yes"
+BuildPreReq:  openldap
+PreReq:       openldap
+%endif
 %if "%{with_fsl}" == "yes"
 BuildPreReq:  fsl >= 1.3.0
 PreReq:       fsl >= 1.3.0