]> git.pld-linux.org Git - packages/smack.git/commitdiff
- allow building without systemd master
authorMarcin Krol <hawk@tld-linux.org>
Sun, 3 Apr 2022 20:07:07 +0000 (22:07 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sun, 3 Apr 2022 20:07:07 +0000 (22:07 +0200)
smack.spec

index 3225730676c3c88188584b64b629e7ad3652114a..27d4166af88c4f219a62ba19de3828b807d03b87 100644 (file)
@@ -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)
 
This page took 2.953756 seconds and 4 git commands to generate.