Accepting request 949999 from home:vulyanov:branches:Virtualization

- Install network stuff in %{_datadir}

OBS-URL: https://build.opensuse.org/request/show/949999
OBS-URL: https://build.opensuse.org/package/show/Virtualization/kubevirt?expand=0&rev=77
This commit is contained in:
Vasily Ulyanov 2022-01-30 15:10:52 +00:00 committed by Git OBS Bridge
parent 3445bb2dd5
commit 6fa970f4a4

View File

@ -214,9 +214,10 @@ install -p -m 0755 cmd/virt-launcher/node-labeller/node-labeller.sh %{buildroot}
install -p -m 0644 cmd/virt-handler/virt_launcher.cil %{buildroot}/
# Install network stuff
install -p -m 0644 cmd/virt-handler/nsswitch.conf %{buildroot}/
install -p -m 0644 cmd/virt-handler/ipv4-nat.nft %{buildroot}/
install -p -m 0644 cmd/virt-handler/ipv6-nat.nft %{buildroot}/
mkdir -p %{buildroot}%{_datadir}/kube-virt/virt-handler
install -p -m 0644 cmd/virt-handler/nsswitch.conf %{buildroot}%{_datadir}/kube-virt/virt-handler/
install -p -m 0644 cmd/virt-handler/ipv4-nat.nft %{buildroot}%{_datadir}/kube-virt/virt-handler/
install -p -m 0644 cmd/virt-handler/ipv6-nat.nft %{buildroot}%{_datadir}/kube-virt/virt-handler/
# Install release manifests
mkdir -p %{buildroot}%{_datadir}/kube-virt/manifests/release
@ -259,12 +260,12 @@ install -m 0644 %{S:2} %{buildroot}%{_prefix}/lib/obs/service
%files virt-handler
%license LICENSE
%doc README.md
%dir %{_datadir}/kube-virt
%dir %{_datadir}/kube-virt/virt-handler
%{_bindir}/virt-handler
%{_bindir}/virt-chroot
%{_datadir}/kube-virt/virt-handler
/virt_launcher.cil
/nsswitch.conf
/ipv4-nat.nft
/ipv6-nat.nft
%files virt-launcher
%license LICENSE