commit 33c4ab72f7555f7a13794728de37c768fdfee077
Author: Marcin Krol <[email protected]>
Date:   Tue Apr 5 21:44:35 2022 +0000

    - allow building on systems w/o systemd

 rdma-core.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/rdma-core.spec b/rdma-core.spec
index 25575c3..711f96b 100644
--- a/rdma-core.spec
+++ b/rdma-core.spec
@@ -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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rdma-core.git/commitdiff/33c4ab72f7555f7a13794728de37c768fdfee077

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to