]> git.pld-linux.org Git - packages/nghttp2.git/commitdiff
- allow building without systemd support
authorMarcin Krol <hawk@tld-linux.org>
Sat, 26 Feb 2022 19:12:07 +0000 (20:12 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 26 Feb 2022 19:12:07 +0000 (20:12 +0100)
nghttp2.spec

index 5cf91029e6b2165c52195e748e023b8621a67a04..db24b2ad546db2d473594cba24cc54de6f6fed0f 100644 (file)
@@ -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
This page took 0.310768 seconds and 4 git commands to generate.