Michael van Elst 23 лет назад
Родитель
Сommit
112f2e452c
1 измененных файлов с 1 добавлено и 11 удалено
  1. 1 11
      imapd/imapd.spec

+ 1 - 11
imapd/imapd.spec

@@ -45,7 +45,7 @@ Patch0:       imapd.patch
 #   build information
 #   build information
 Prefix:       %{l_prefix}
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, sasl, db >= 4.1.24, openssl, make, perl, perl-openpkg, libtool
+BuildPreReq:  OpenPKG, openpkg >= 20020206, sasl, db >= 4.1.24, openssl, make, perl, perl-openpkg
 PreReq:       OpenPKG, openpkg >= 20020206, sasl, openssl, perl, MTA
 PreReq:       OpenPKG, openpkg >= 20020206, sasl, openssl, perl, MTA
 AutoReq:      no
 AutoReq:      no
 AutoReqProv:  no
 AutoReqProv:  no
@@ -97,16 +97,6 @@ Provides:     IMAP
         -e "s;^\(\$sievedir = \"\).*$;\1$RPM_BUILD_ROOT%{l_prefix}/var/imapd/sieve\"\;;" \
         -e "s;^\(\$sievedir = \"\).*$;\1$RPM_BUILD_ROOT%{l_prefix}/var/imapd/sieve\"\;;" \
         tools/mkimap
         tools/mkimap
 
 
-    # avoid sasl2 test in case of dependent libraries from sasl package
-    ( echo 'ac_cv_lib_sasl2_prop_get=yes'
-      echo 'ac_cv_lib_sasl2_sasl_checkapop=yes'
-    ) >cache.config
-
-    # use libtool to catch dependencies
-    %{l_shtool} subst \
-        -e 's;\$(CC) \(\$(LDFLAGS)\);%{l_libtool} --mode=link \$(CC);g' \
-        */Makefile.in
-
 %build
 %build
     cflags="-I%{l_prefix}/include"
     cflags="-I%{l_prefix}/include"
     ldflags="-L%{l_prefix}/lib"
     ldflags="-L%{l_prefix}/lib"