From 9b9cac9a83b9853b124548d0cfe954ad40f787fa Mon Sep 17 00:00:00 2001 From: nanardon Date: Wed, 26 Jul 2006 15:29:28 +0000 Subject: - remove _ from some function for coherency (guillomovitch) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@119 971eb68f-4bfb-0310-8326-d2484c010a4c --- RPM4/lib/RPM4.pm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'RPM4/lib/RPM4.pm') diff --git a/RPM4/lib/RPM4.pm b/RPM4/lib/RPM4.pm index 9324d86..1ae0d9c 100644 --- a/RPM4/lib/RPM4.pm +++ b/RPM4/lib/RPM4.pm @@ -180,9 +180,11 @@ sub format_rpmpb { # Alias for compatiblity # ########################## -sub specnew { - newspec(@_); -} +sub specnew { newspec(@_) } + +sub add_macro { addmacro(@_) } + +sub del_macro { delmacro(@_) } 1; @@ -303,15 +305,15 @@ Evaluate macros contained in C<$string>, like C. expand("%_var") return "/var". -=head2 add_macro("_macro value") +=head2 addmacro("_macro value") Define a macro into rpmlib. The macro is defined for the whole script. Ex: -C. Note that the macro name does have the prefix +C. Note that the macro name does have the prefix "%", to prevent rpm from evaluating it. =head2 del_macro("_macro") -Delete a macro from rpmlib. Exactly the reverse of add_macro(). +Delete a macro from rpmlib. Exactly the reverse of addmacro(). =head2 loadmacrosfile($filename) -- cgit v1.2.1