[packages/nghttp2] - allow building without systemd support

hawk hawk at pld-linux.org
Sat Feb 26 20:12:29 CET 2022


commit a8f9a0f95e22ea2300cd4b4ff5c19df93fdac87c
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Sat Feb 26 20:12:07 2022 +0100

    - allow building without systemd support

 nghttp2.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/nghttp2.spec b/nghttp2.spec
index 5cf9102..db24b2a 100644
--- a/nghttp2.spec
+++ b/nghttp2.spec
@@ -5,6 +5,7 @@
 %bcond_with	http3		# experimental HTTP/3 support
 %bcond_with	libbpf		# BPF support (requires CC=clang)
 %bcond_without	static_libs	# static libraries
+%bcond_without	systemd		# don't include systemd support
 %bcond_without	tests		# "make check" call
 
 Summary:	HTTP/2.0 C library
@@ -45,7 +46,7 @@ BuildRequires:	python3-setuptools
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.734
 BuildRequires:	sed >= 4.0
-BuildRequires:	systemd-devel >= 1:209
+%{?with_systemd:BuildRequires:	systemd-devel >= 1:209}
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 BuildRequires:	zlib-devel >= 1.2.3
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nghttp2.git/commitdiff/a8f9a0f95e22ea2300cd4b4ff5c19df93fdac87c



More information about the pld-cvs-commit mailing list