aboutsummaryrefslogtreecommitdiffstats
path: root/rpm-helper.macros.in
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-15 17:26:57 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-15 17:26:57 +0000
commitb6896685fb3973fdd0cb22b5eab2af5015501737 (patch)
tree00d00ea47c30347f0e8808fcf5ce351828382212 /rpm-helper.macros.in
parent78f657e1f5910b8778f7d9198e726068139ac928 (diff)
downloadrpm-helper-b6896685fb3973fdd0cb22b5eab2af5015501737.tar
rpm-helper-b6896685fb3973fdd0cb22b5eab2af5015501737.tar.gz
rpm-helper-b6896685fb3973fdd0cb22b5eab2af5015501737.tar.bz2
rpm-helper-b6896685fb3973fdd0cb22b5eab2af5015501737.tar.xz
rpm-helper-b6896685fb3973fdd0cb22b5eab2af5015501737.zip
new release
Diffstat (limited to 'rpm-helper.macros.in')
-rw-r--r--rpm-helper.macros.in38
1 files changed, 19 insertions, 19 deletions
diff --git a/rpm-helper.macros.in b/rpm-helper.macros.in
index 7823d68..fe1ce81 100644
--- a/rpm-helper.macros.in
+++ b/rpm-helper.macros.in
@@ -1,65 +1,65 @@
# $Id$
-%_get_password_helper @LIBDIR@/get-password
-%get_password() %_get_password_helper %{1} \
-%{nil}
+%_rpm_helper_dir @pkgdatadir@
-%_get_free_syslog_facility_helper @LIBDIR@/get_free_syslog_facility
-%get_free_syslog_facility() %_get_free_syslog_facility_helper %{1} \
-%{nil}
+%_get_password_helper %_rpm_helper_dir/get-password
+%get_password() %(%_get_password_helper %{1})
+
+%_get_free_syslog_facility_helper %_rpm_helper_dir/get-free-syslog-facility
+%get_free_syslog_facility() %(%_get_free_syslog_facility_helper)
-%_create_ghostfile_helper @LIBDIR@/create-file
+%_create_ghostfile_helper %_rpm_helper_dir/create-file
%create_ghostfile() %_create_ghostfile_helper %{name} $1 %{1} %{2} %{3} %{4} \
%{nil}
# initscripts macros
-%_add_service_helper @LIBDIR@/add-service
+%_add_service_helper %_rpm_helper_dir/add-service
%_post_service() %_add_service_helper %{name} $1 %{1} \
%{nil}
-%_del_service_helper @LIBDIR@/del-service
+%_del_service_helper %_rpm_helper_dir/del-service
%_preun_service() %_del_service_helper %{name} $1 %{1} \
%{nil}
-%_add_user_helper @LIBDIR@/add-user
+%_add_user_helper %_rpm_helper_dir/add-user
%_pre_useradd() %_add_user_helper %{name} $1 %{1} %{2} %{3} \
%{nil}
-%_del_user_helper @LIBDIR@/del-user
+%_del_user_helper %_rpm_helper_dir/del-user
%_postun_userdel() %_del_user_helper %{name} $1 %{1} \
%{nil}
-%_add_group_helper @LIBDIR@/add-group
+%_add_group_helper %_rpm_helper_dir/add-group
%_pre_groupadd() %_add_group_helper %{name} $1 %{1} %{?2:%2} \
%{nil}
-%_del_group_helper @LIBDIR@/del-group
+%_del_group_helper %_rpm_helper_dir/del-group
%_postun_groupdel() %_del_group_helper %{name} $1 %{1} \
%{nil}
-%_add_shell_helper @LIBDIR@/add-shell
+%_add_shell_helper %_rpm_helper_dir/add-shell
%_post_shelladd() %_add_shell_helper %{name} $1 %{1} \
%{nil}
-%_del_shell_helper @LIBDIR@/del-shell
+%_del_shell_helper %_rpm_helper_dir/del-shell
%_preun_shelldel() %_del_shell_helper %{name} $1 \
%{nil}
-%_add_syslog_helper @LIBDIR@/add-syslog
+%_add_syslog_helper %_rpm_helper_dir/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
+%_del_syslog_helper %_rpm_helper_dir/del-syslog
%_preun_syslogdel() %_del_syslog_helper %{name} $1 %{1} %{?2:%2} %{?3:%3} %{?4:%4} %{?5:%5} \
%{nil}
# Web App dir
-%_add_webapp_helper @LIBDIR@/add-webapp
+%_add_webapp_helper %_rpm_helper_dir/add-webapp
%_post_webapp() %_add_webapp_helper %{name} $1 \
%{nil}
-%_del_webapp_helper @LIBDIR@/del-webapp
+%_del_webapp_helper %_rpm_helper_dir/del-webapp
%_postun_webapp() %_del_webapp_helper %{name} $1 \
%{nil}