aboutsummaryrefslogtreecommitdiffstats
path: root/rpm-helper.macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'rpm-helper.macros.in')
-rw-r--r--rpm-helper.macros.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/rpm-helper.macros.in b/rpm-helper.macros.in
index 3de893c..bcfcf37 100644
--- a/rpm-helper.macros.in
+++ b/rpm-helper.macros.in
@@ -37,3 +37,11 @@
%_preun_shelldel() %_del_shell_helper %{name} $1 \
%{nil}
+%_add_syslog_helper @LIBDIR@/add-syslog
+%_post_syslogadd() %_add_syslog_helper %{name} $1 %{1} %{?2:%2} %{?3:%3} %{?4:%4} %{?5:%5} \
+%{nil}
+
+%_del_syslog_helper @LIBDIR@/del-syslog
+%_preun_syslogdel() %_del_syslog_helper %{name} $1 %{1} %{?2:%2} %{?3:%3} %{?4:%4} %{?5:%5} \
+%{nil}
+