[packages/elinks] libdom required by either js or libcss
atler
atler at pld-linux.org
Tue Dec 26 19:42:04 CET 2023
commit b76c5506ea22f566fee2572a3dc41d0e3f1366ce
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Dec 26 14:36:21 2023 +0100
libdom required by either js or libcss
elinks.spec | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/elinks.spec b/elinks.spec
index d1e212d..aefac06 100644
--- a/elinks.spec
+++ b/elinks.spec
@@ -68,7 +68,9 @@ BuildRequires: libstdc++-devel
BuildRequires: rpmbuild(macros) >= 1.736
%{?with_js:BuildRequires: sqlite3-devel}
%{?with_brotli:BuildRequires: libbrotli-devel}
-%{?with_js:BuildRequires: libdom-devel >= 0.4.1}
+%if %{with js} || %{with libcss}
+BuildRequires: libdom-devel >= 0.4.1
+%endif
%{?with_libevent:BuildRequires: libevent-devel}
%{?with_idn:BuildRequires: libidn2-devel}
%{?with_smb:BuildRequires: libsmbclient-devel}
@@ -93,7 +95,9 @@ BuildRequires: zlib-devel
%{?with_zstd:BuildRequires: zstd-devel}
%{?with_gnutls:Requires: gnutls-libs >= 1.2.5}
%{?with_libcss:Requires: libCSS >= 0.9.1}
-%{?with_js:Requires: libdom >= 0.4.1}
+%if %{with js} || %{with libcss}
+Requires: libdom >= 0.4.1
+%endif
Requires: ncurses >= 5.1
%{?with_openssl:Requires: openssl >= 0.9.7d}
%{?with_js:Requires: quickjs >= 20210327-4}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/elinks.git/commitdiff/e594467d9dca3ec2de3e1551dd12b1161e30f2a2
More information about the pld-cvs-commit
mailing list