mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-20 02:10:46 +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 GO_VERSION @GO_VERSION@
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%define LIBEXECDIR %{_libdir}
|
||||
%else
|
||||
%define LIBEXECDIR %{_libexecdir}
|
||||
%endif
|
||||
%define LIBEXECDIR /usr/libexec
|
||||
|
||||
%undefine _missing_build_ids_terminate_build
|
||||
Name: kata-proxy
|
||||
|
@ -4,11 +4,7 @@
|
||||
%global IMPORTNAME %{DOMAIN}/%{ORG}/%{PROJECT}
|
||||
%global GO_VERSION @GO_VERSION@
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%define LIBEXECDIR %{_libdir}
|
||||
%else
|
||||
%define LIBEXECDIR %{_libexecdir}
|
||||
%endif
|
||||
%define LIBEXECDIR /usr/libexec
|
||||
|
||||
%undefine _missing_build_ids_terminate_build
|
||||
Name: kata-shim
|
||||
@ -77,5 +73,6 @@ make install LIBEXECDIR=%{buildroot}%{LIBEXECDIR} COMMIT=@HASH@
|
||||
|
||||
%files bin
|
||||
%defattr(-,root,root,-)
|
||||
%{LIBEXECDIR}/kata-containers
|
||||
%dir %{LIBEXECDIR}
|
||||
%dir %{LIBEXECDIR}/kata-containers
|
||||
%{LIBEXECDIR}/kata-containers/kata-shim
|
||||
|
Loading…
Reference in New Issue
Block a user