From 7bef60e80e810247be191ea6f4b7f5baa43480b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 17 Feb 2007 08:56:31 +0000 Subject: [PATCH] - add Author Changed files: rpm.macros -> 1.372 --- rpm.macros | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/rpm.macros b/rpm.macros index 671ae2e..c7921eb 100644 --- a/rpm.macros +++ b/rpm.macros @@ -1065,7 +1065,7 @@ fi \ # command invoking pear cli %__pear /usr/bin/pear -# the main macro. +# The main macro. # using this macro will append optional-packages.txt to the nocompressdoc list # as it's displayed to user after package install. and adding additional gzip # dep is just waste ;) @@ -1097,9 +1097,8 @@ find . -type f -print0 | xargs -0 sed -i -e 's,\\r$,,' \ %{!?_noautoprov:%global _noautoprov %{nil}}%{expand:%%global _noautoprov %{_noautoprov} 'pear(tests/.*)'} \ %{nil} -# copies exctracted PEAR package structure to buildroot. -# also copies PEAR registry file. -# please use this macro, for future extensions being possible. +# Copies exctracted PEAR package structure and PEAR registry to buildroot. +# Author: Elan Ruusamäe %pear_package_install() \ cp -a ./%{php_pear_dir}/{.registry,*} $RPM_BUILD_ROOT%{php_pear_dir} \ find $RPM_BUILD_ROOT%{php_pear_dir} '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v \ -- 2.44.0