commit 4b41ad3443f3202e020d2b42f59afb7e94ad7752
Author: Marcin Krol <h...@tld-linux.org>
Date:   Sun Apr 3 22:07:07 2022 +0200

    - allow building without systemd

 smack.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/smack.spec b/smack.spec
index 3225730..27d4166 100644
--- a/smack.spec
+++ b/smack.spec
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without apidocs         # do not build and package API docs
 %bcond_without static_libs     # don't build static libraries
+%bcond_without systemd         # build without systemd
 
 Summary:       SMACK userspace package
 Summary(pl.UTF-8):     Pakiet SMACK dla przestrzeni użytkownika
@@ -19,7 +20,7 @@ BuildRequires:        automake >= 1:1.11
 BuildRequires: doxygen
 BuildRequires: libtool >= 2:2.2
 BuildRequires: pkgconfig
-BuildRequires: systemd-devel >= 1:198
+%{?with_systemd:BuildRequires: systemd-devel >= 1:198}
 Requires:      %{name}-libs = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/smack.git/commitdiff/4b41ad3443f3202e020d2b42f59afb7e94ad7752

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to