]> git.pld-linux.org Git - packages/rdma-core.git/commitdiff
- allow building on systems w/o systemd
authorMarcin Krol <hawk@tld-linux.org>
Tue, 5 Apr 2022 21:44:35 +0000 (21:44 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 5 Apr 2022 21:44:35 +0000 (21:44 +0000)
rdma-core.spec

index 25575c32007405bb9d9bc8bddcffda5975cd6a12..711f96b5efb11a1666dc714045b1088940afb8a3 100644 (file)
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without static_libs     # static libraries
+%bcond_without systemd         # systemd
 
 Summary:       RDMA Core Userspace Libraries and Daemons
 Summary(pl.UTF-8):     RDMA Core - biblioteki i demony przestrzeni użytkownika
@@ -40,7 +41,7 @@ BuildRequires:        python3-devel >= 1:3.2
 %endif
 BuildRequires: rpmbuild(macros) >= 1.605
 BuildRequires: udev-devel
-BuildRequires: systemd-devel
+%{?with_systemd:BuildRequires: systemd-devel}
 Requires:      ibacm = %{version}-%{release}
 Requires:      iwpmd = %{version}-%{release}
 Requires:      rdma-boot = %{version}-%{release}
This page took 0.316887 seconds and 4 git commands to generate.