#
# Conditional build:
%bcond_with apidocs # Doxygen based API documentation
-%bcond_with python3 # Python (3) bindings
+%bcond_without python3 # Python (3) bindings
%bcond_with plugins # plugins (all, including: audit, imaevm, selinux, systemd)
%bcond_with recommends_tags # use of Recommends tag (disable for bootstrapping)
%bcond_with imaevm # IMA/EVM signing support (requires libimaevm from ima-evm-utils)
cd ..
%endif
+%if %{with plugins}
%{__rm} $RPM_BUILD_ROOT%{_libdir}/rpm-plugins/*.la
+%endif
# wrong location, not used anyway
%{__rm} $RPM_BUILD_ROOT%{_rpmlibdir}/rpm.{daily,log}