containernetworking-plugins-0.9.1-2.1.gitfa48f75
- Resolves: #1928513 - install cni-dhcp unitfiles Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
1e3224d93c
commit
7430815b19
@ -35,7 +35,7 @@
|
||||
|
||||
Name: %{project}-%{repo}
|
||||
Version: 0.9.1
|
||||
Release: 1.1.git%{shortcommit0}%{?dist}
|
||||
Release: 2.1.git%{shortcommit0}%{?dist}
|
||||
Summary: Libraries for writing CNI plugin
|
||||
License: ASL 2.0
|
||||
URL: %{git0}
|
||||
@ -174,6 +174,10 @@ done
|
||||
install -d -p %{buildroot}%{_libexecdir}/cni/
|
||||
install -p -m 0755 bin/* %{buildroot}/%{_libexecdir}/cni
|
||||
|
||||
install -dp %{buildroot}%{_unitdir}
|
||||
install -p plugins/ipam/dhcp/systemd/cni-dhcp.service %{buildroot}%{_unitdir}
|
||||
install -p plugins/ipam/dhcp/systemd/cni-dhcp.socket %{buildroot}%{_unitdir}
|
||||
|
||||
# source codes for building projects
|
||||
%if 0%{?with_devel}
|
||||
install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
|
||||
@ -265,6 +269,8 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
||||
%doc *.md
|
||||
%dir %{_libexecdir}/cni
|
||||
%{_libexecdir}/cni/*
|
||||
%{_unitdir}/cni-dhcp.service
|
||||
%{_unitdir}/cni-dhcp.socket
|
||||
|
||||
%if 0%{?with_devel}
|
||||
%files devel -f devel.file-list
|
||||
@ -280,6 +286,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Feb 15 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.9.1-2.1.gitfa48f75
|
||||
- Resolves: #1928513 - install cni-dhcp unitfiles
|
||||
|
||||
* Fri Feb 05 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.9.1-1.1.gitfa48f75
|
||||
- built fa48f75
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user