aboutsummaryrefslogtreecommitdiffstats
path: root/rpm-helper.macros.in
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>2005-08-03 11:50:35 +0000
committerHerton Ronaldo Krzesinski <herton@mandriva.com.br>2005-08-03 11:50:35 +0000
commitfeffe656a174c7ec23e48b34f6571016e4457785 (patch)
tree13fce76362a5083b53c846d088250370e5b821ff /rpm-helper.macros.in
parent06c1cdba8465e4ed67fa9becf659fa86d61fcd52 (diff)
downloadrpm-helper-feffe656a174c7ec23e48b34f6571016e4457785.tar
rpm-helper-feffe656a174c7ec23e48b34f6571016e4457785.tar.gz
rpm-helper-feffe656a174c7ec23e48b34f6571016e4457785.tar.bz2
rpm-helper-feffe656a174c7ec23e48b34f6571016e4457785.tar.xz
rpm-helper-feffe656a174c7ec23e48b34f6571016e4457785.zip
- Added syslog helpers (currently they support syslog-ng and sysklogd).
- s/mandrake/mandriva on misc files.
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}
+