aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdrake.spec')
-rw-r--r--rpmdrake.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.spec b/rpmdrake.spec
index 730ae9bf..6e1bf75c 100644
--- a/rpmdrake.spec
+++ b/rpmdrake.spec
@@ -60,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT
make OPTIMIZE="$RPM_OPT_FLAGS -Wall" PREFIX=%{_prefix} INSTALLDIRS=vendor
%install
-make install PREFIX=$RPM_BUILD_ROOT/%{_prefix} BINDIR=$RPM_BUILD_ROOT/%{_bindir} SBINDIR=$RPM_BUILD_ROOT/%{_sbindir}
+make install PREFIX=%buildroot/%{_prefix} BINDIR=%buildroot/%{_bindir} SBINDIR=%buildroot/%{_sbindir} DESTDIR=%buildroot
mkdir -p $RPM_BUILD_ROOT/%{perl_vendorlib}
install -m 644 rpmdrake.pm $RPM_BUILD_ROOT/%{perl_vendorlib}