# Disable all systemd related macros %systemd_reload %{nil} %systemd_service_enable %{nil} %systemd_service_disable %{nil} %systemd_service %{nil} %systemd_service_start %{nil} %systemd_service_stop %{nil} %systemd_service_restart %{nil} %systemd_service_reload %{nil} %systemd_trigger %{nil} %systemd_post %{nil} %systemd_preun %{nil} # Keep paths for systemd related files %systemdunitdir /lib/systemd/system %systemduserunitdir /usr/lib/systemd/user %systemdtmpfilesdir /usr/lib/tmpfiles.d %journal_catalog_update %{nil} # Macro for excluding above paths from package contents %exclude_systemd_files\ %exclude /usr/lib/systemd\ %exclude %{systemdtmpfilesdir}\ %{nil}