diff --git a/systemd-mini.spec b/systemd-mini.spec index 681e228..d8caa48 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -116,6 +116,7 @@ BuildRequires: pkgconfig(libseccomp) BuildRequires: pkgconfig(libseccomp) %endif %endif +%endif %if ! 0%{?bootstrap} BuildRequires: libapparmor-devel %endif diff --git a/systemd.spec b/systemd.spec index 53ea916..f605c34 100644 --- a/systemd.spec +++ b/systemd.spec @@ -111,6 +111,7 @@ BuildRequires: pkgconfig(libseccomp) BuildRequires: pkgconfig(libseccomp) %endif %endif +%endif %if ! 0%{?bootstrap} BuildRequires: libapparmor-devel %endif