X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=macros.systemd;h=52d598c5e6654601946b4de9d3c50de68b738810;hb=a8b462c1f839b0f67d81b5f94047e6e0f50c67d4;hp=8eb65cfde7b54d9035dd80679fb2dde4a7ce1766;hpb=b5115bb76a6795a89fadf5f4e7161f26203c7678;p=packages%2Frpm-tld-macros.git diff --git a/macros.systemd b/macros.systemd index 8eb65cf..52d598c 100644 --- a/macros.systemd +++ b/macros.systemd @@ -1,17 +1,30 @@ # 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} -%systemdunitdir %{nil} -%systemduserunitdir %{nil} -%systemdtmpfilesdir %{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_user_post %{nil} +%systemd_preun() %{nil} +%systemd_user_preun %{nil} +%systemd_postun() %{nil} +%systemd_user_postun() %{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 /lib/systemd\ +%exclude /usr/lib/systemd\ +%exclude %{systemdtmpfilesdir}\ +%{nil}