[packages/wget] metalink bcond added
jajcus
jajcus at pld-linux.org
Tue Oct 23 13:44:35 CEST 2018
commit c55e90eeb2e9394668a47e85558d240e61775020
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Tue Oct 23 13:44:23 2018 +0200
metalink bcond added
wget.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/wget.spec b/wget.spec
index 5f86e95..082c2b2 100644
--- a/wget.spec
+++ b/wget.spec
@@ -6,6 +6,7 @@
#
# Conditional build:
%bcond_without tests # check target
+%bcond_without metalink # build without metalink support
%bcond_with gnutls # use GnuTLS (wget default) instead of OpenSSL
Summary: A utility for retrieving files using the HTTP or FTP protocols
@@ -35,9 +36,9 @@ BuildRequires: autoconf >= 2.61
BuildRequires: automake >= 1:1.9
BuildRequires: gettext-tools >= 0.18.1
%{?with_gnutls:BuildRequires: gnutls-devel}
-BuildRequires: gpgme-devel >= 0.4.2
+%{?with_metalink:BuildRequires: gpgme-devel >= 0.4.2}
BuildRequires: libidn2-devel
-BuildRequires: libmetalink-devel
+%{?with_metalink:BuildRequires: libmetalink-devel}
BuildRequires: libpsl-devel >= 0.16.0
BuildRequires: libuuid-devel
%{!?with_gnutls:BuildRequires: openssl-devel >= 0.9.7m}
@@ -164,7 +165,7 @@ chmod +x build-aux/bzr-version-gen
--enable-pcre \
--disable-silent-rules \
--with-libpsl \
- --with-metalink \
+ %{__with_without metalink} \
--with-ssl%{!?with_gnutls:=openssl} \
--with-zlib \
%{nil}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wget.git/commitdiff/c55e90eeb2e9394668a47e85558d240e61775020
More information about the pld-cvs-commit
mailing list