obs: proxy: use DESTDIR variable.

Proxy respository now honor DESTDIR variable.

Fixes: #172

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
Jose Carlos Venegas Munoz 2018-08-31 14:35:13 -05:00 committed by Eric Ernst
parent 9ed9792091
commit c395aa9ccb
2 changed files with 2 additions and 2 deletions

View File

@ -20,4 +20,4 @@ override_dh_auto_build:
override_dh_auto_install: override_dh_auto_install:
mkdir debian/kata-proxy mkdir debian/kata-proxy
make install LIBEXECDIR=$(shell pwd)/debian/kata-proxy/usr/libexec COMMIT=@HASH@ make install DESTDIR=$(shell pwd)/debian/kata-proxy COMMIT=@HASH@

View File

@ -69,7 +69,7 @@ echo "Clean build root"
rm -rf %{buildroot} rm -rf %{buildroot}
%install %install
make install LIBEXECDIR=%{buildroot}%{LIBEXECDIR} COMMIT=@HASH@ make install DESTDIR=%{buildroot} COMMIT=@HASH@
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)