forked from pool/systemd-rpm-macros
avoid macros with empty bodies
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=93
This commit is contained in:
parent
9fee5b69d2
commit
ba6e5f27b2
@ -110,6 +110,7 @@ fi \
|
|||||||
#
|
#
|
||||||
%service_del_postun_without_restart() \
|
%service_del_postun_without_restart() \
|
||||||
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# service_del_postun_without_restart}} \
|
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# service_del_postun_without_restart}} \
|
||||||
|
: \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
# On uninstall, tell systemd to reload its unit files.
|
# On uninstall, tell systemd to reload its unit files.
|
||||||
@ -181,6 +182,7 @@ fi \
|
|||||||
|
|
||||||
%systemd_user_postun() \
|
%systemd_user_postun() \
|
||||||
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# systemd_user_postun}} \
|
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# systemd_user_postun}} \
|
||||||
|
: \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
%systemd_user_postun_with_restart() \
|
%systemd_user_postun_with_restart() \
|
||||||
@ -196,21 +198,23 @@ fi \
|
|||||||
# journal catalog, udev rules, binfmt and sysctl.
|
# journal catalog, udev rules, binfmt and sysctl.
|
||||||
#
|
#
|
||||||
|
|
||||||
%udev_hwdb_update() %{nil}
|
%udev_hwdb_update() :%{nil}
|
||||||
|
|
||||||
%udev_rules_update() %{nil}
|
%udev_rules_update() :%{nil}
|
||||||
|
|
||||||
%journal_catalog_update() %{nil}
|
%journal_catalog_update() :%{nil}
|
||||||
|
|
||||||
# Currently the 2 following macros don't have any interesting users. Leave them
|
# Currently the 2 following macros don't have any interesting users. Leave them
|
||||||
# empty until a specific need appears.
|
# empty until a specific need appears.
|
||||||
|
|
||||||
%sysctl_apply() \
|
%sysctl_apply() \
|
||||||
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# sysctl_apply}} \
|
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# sysctl_apply}} \
|
||||||
|
: \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
%binfmt_apply() \
|
%binfmt_apply() \
|
||||||
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# binfmt_apply}} \
|
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# binfmt_apply}} \
|
||||||
|
: \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user