瀏覽代碼

conditionally depend on perl for use by whois_filt.pl script

Michael Schloh von Bennewitz 21 年之前
父節點
當前提交
897e0e2a3b
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      ripe-dbase/ripe-dbase.spec

+ 4 - 1
ripe-dbase/ripe-dbase.spec

@@ -34,7 +34,7 @@ Class:        EVAL
 Group:        Database
 License:      RIPE NCC
 Version:      3.2.0
-Release:      20040322
+Release:      20040323
 
 #   package options
 %option       with_extobjs  no
@@ -59,6 +59,9 @@ BuildPreReq:  gnupg, glib, glib::with_threads = yes, mysql3
 PreReq:       gnupg, glib, glib::with_threads = yes, mysql3
 BuildPreReq:  libxml, libxslt, imap, zlib, openssl
 PreReq:       libxml, libxslt, imap, zlib, openssl
+%if "%{with_extobjs}" == "yes"
+PreReq:       perl
+%endif
 AutoReq:      no
 AutoReqProv:  no