فهرست منبع

use better default if package really exists and can be used (uses new l_test feature)

Ralf S. Engelschall 23 سال پیش
والد
کامیت
01e4a1c7b1
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      perl-net/perl-net.spec

+ 3 - 3
perl-net/perl-net.spec

@@ -39,7 +39,7 @@
 
 #   package options
 %ifndef       with_curl
-%define       with_curl               no
+%define       with_curl               %{l_test -p curl}
 %endif
 
 #   package information
@@ -71,8 +71,8 @@ Source11:     http://curl.haxx.se/libcurl/perl/Curl-easy-%{V_curl_easy}.tar.gz
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, perl
-PreReq:       OpenPKG, openpkg >= 20020206, perl
+BuildPreReq:  OpenPKG, openpkg >= 20021002, perl
+PreReq:       OpenPKG, openpkg >= 20021002, perl
 %if "%{with_curl}" == "yes"
 BuildPreReq:  curl
 %endif