style: replace BUILDROOT with DESTDIR

This commit is contained in:
2020-08-08 06:38:20 +03:00
parent 2dbd001d3c
commit 2fc72e98da
2 changed files with 16 additions and 17 deletions

View File

@ -45,10 +45,10 @@ Command line tool for managing a set of Killing Floor 2 servers.
%install
rm -rf $RPM_BUILD_ROOT
make install BUILDROOT=%{buildroot} PREFIX=%{_prefix}
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
%check
make test BUILDROOT=%{buildroot} PREFIX=%{_prefix}
make test DESTDIR=%{buildroot} PREFIX=%{_prefix}
%clean
rm -rf $RPM_BUILD_ROOT