From c395aa9ccbe540fd026dcb8934712d5c3466c916 Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Fri, 31 Aug 2018 14:35:13 -0500 Subject: [PATCH] obs: proxy: use DESTDIR variable. Proxy respository now honor DESTDIR variable. Fixes: #172 Signed-off-by: Jose Carlos Venegas Munoz --- obs-packaging/proxy/debian.rules-template | 2 +- obs-packaging/proxy/kata-proxy.spec-template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/obs-packaging/proxy/debian.rules-template b/obs-packaging/proxy/debian.rules-template index 32892cbebe..4642549123 100644 --- a/obs-packaging/proxy/debian.rules-template +++ b/obs-packaging/proxy/debian.rules-template @@ -20,4 +20,4 @@ override_dh_auto_build: override_dh_auto_install: 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@ diff --git a/obs-packaging/proxy/kata-proxy.spec-template b/obs-packaging/proxy/kata-proxy.spec-template index 1b4b6560c2..12c2376560 100644 --- a/obs-packaging/proxy/kata-proxy.spec-template +++ b/obs-packaging/proxy/kata-proxy.spec-template @@ -69,7 +69,7 @@ echo "Clean build root" rm -rf %{buildroot} %install -make install LIBEXECDIR=%{buildroot}%{LIBEXECDIR} COMMIT=@HASH@ +make install DESTDIR=%{buildroot} COMMIT=@HASH@ %files %defattr(-,root,root,-)