diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2005-06-30 08:33:08 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2005-06-30 08:33:08 +0000 |
commit | 9355004b895406353a6d1018d16918ac608e4271 (patch) | |
tree | 9f5fba4ce03ec324ec304cf103025b7973d372c2 /rpm-helper.macros.in | |
parent | 4fcdb3aec25062c621382b6e2666ce24c54c2463 (diff) | |
download | rpm-helper-9355004b895406353a6d1018d16918ac608e4271.tar rpm-helper-9355004b895406353a6d1018d16918ac608e4271.tar.gz rpm-helper-9355004b895406353a6d1018d16918ac608e4271.tar.bz2 rpm-helper-9355004b895406353a6d1018d16918ac608e4271.tar.xz rpm-helper-9355004b895406353a6d1018d16918ac608e4271.zip |
- make rpm-helper provide itself its macros
Diffstat (limited to 'rpm-helper.macros.in')
-rw-r--r-- | rpm-helper.macros.in | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/rpm-helper.macros.in b/rpm-helper.macros.in new file mode 100644 index 0000000..3de893c --- /dev/null +++ b/rpm-helper.macros.in @@ -0,0 +1,39 @@ +# $Id$ + +%_create_ghostfile_helper @LIBDIR@/create-file +%create_ghostfile() %_create_ghostfile_helper %{name} $1 %{1} %{2} %{3} %{4} \ +%{nil} + +# initscripts macros +%_add_service_helper @LIBDIR@/add-service +%_post_service() %_add_service_helper %{name} $1 %{1} \ +%{nil} + +%_del_service_helper @LIBDIR@/del-service +%_preun_service() %_del_service_helper %{name} $1 %{1} \ +%{nil} + +%_add_user_helper @LIBDIR@/add-user +%_pre_useradd() %_add_user_helper %{name} $1 %{1} %{2} %{3} \ +%{nil} + +%_del_user_helper @LIBDIR@/del-user +%_postun_userdel() %_del_user_helper %{name} $1 %{1} \ +%{nil} + +%_add_group_helper @LIBDIR@/add-group +%_pre_groupadd() %_add_group_helper %{name} $1 %{1} %{?2:%2} \ +%{nil} + +%_del_group_helper @LIBDIR@/del-group +%_postun_groupdel() %_del_group_helper %{name} $1 %{1} \ +%{nil} + +%_add_shell_helper @LIBDIR@/add-shell +%_post_shelladd() %_add_shell_helper %{name} $1 %{1} \ +%{nil} + +%_del_shell_helper @LIBDIR@/del-shell +%_preun_shelldel() %_del_shell_helper %{name} $1 \ +%{nil} + |