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