mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-21 10:51:05 +00:00
obs: fix installation path for proxy and shim.
Installation path was not the expected in SUSE. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
438b89c9bc
commit
2bbdefaa90
@ -6,11 +6,7 @@
|
|||||||
%global IMPORTNAME %{DOMAIN}/%{ORG}/%{PROJECT}
|
%global IMPORTNAME %{DOMAIN}/%{ORG}/%{PROJECT}
|
||||||
%global GO_VERSION @GO_VERSION@
|
%global GO_VERSION @GO_VERSION@
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%define LIBEXECDIR /usr/libexec
|
||||||
%define LIBEXECDIR %{_libdir}
|
|
||||||
%else
|
|
||||||
%define LIBEXECDIR %{_libexecdir}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%undefine _missing_build_ids_terminate_build
|
%undefine _missing_build_ids_terminate_build
|
||||||
Name: kata-proxy
|
Name: kata-proxy
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
%global IMPORTNAME %{DOMAIN}/%{ORG}/%{PROJECT}
|
%global IMPORTNAME %{DOMAIN}/%{ORG}/%{PROJECT}
|
||||||
%global GO_VERSION @GO_VERSION@
|
%global GO_VERSION @GO_VERSION@
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%define LIBEXECDIR /usr/libexec
|
||||||
%define LIBEXECDIR %{_libdir}
|
|
||||||
%else
|
|
||||||
%define LIBEXECDIR %{_libexecdir}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%undefine _missing_build_ids_terminate_build
|
%undefine _missing_build_ids_terminate_build
|
||||||
Name: kata-shim
|
Name: kata-shim
|
||||||
@ -77,5 +73,6 @@ make install LIBEXECDIR=%{buildroot}%{LIBEXECDIR} COMMIT=@HASH@
|
|||||||
|
|
||||||
%files bin
|
%files bin
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{LIBEXECDIR}/kata-containers
|
%dir %{LIBEXECDIR}
|
||||||
|
%dir %{LIBEXECDIR}/kata-containers
|
||||||
%{LIBEXECDIR}/kata-containers/kata-shim
|
%{LIBEXECDIR}/kata-containers/kata-shim
|
||||||
|
Loading…
Reference in New Issue
Block a user