aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmtools.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmtools.spec b/rpmtools.spec
index 3c21cbc..966cf8c 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -39,7 +39,8 @@ Various tools needed by urpmi and drakxtools for handling rpm files.
%install
rm -rf $RPM_BUILD_ROOT
%{make} install PREFIX=$RPM_BUILD_ROOT
-%{make} -C packdrake-pm install PREFIX=$RPM_BUILD_ROOT%{_prefix}
+%{makeinstall_std} -C packdrake-pm
+rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
%clean
rm -rf $RPM_BUILD_ROOT