!46 change systemd unit file permission to 644
From: @fuowang Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
bdaf62ec84
@ -16,7 +16,7 @@
|
||||
|
||||
Name: %{project}-%{repo}
|
||||
Version: 1.1.1
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: Libraries for use by writing CNI plugin
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/containernetworking/plugins
|
||||
@ -219,8 +219,8 @@ cp %{_builddir}/cni %{buildroot}%{_libexecdir}/cni/
|
||||
install -d -p %{buildroot}/%{gopath}/src/github.com/containernetworking/plugins/
|
||||
|
||||
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}
|
||||
install -p -m 0644 plugins/ipam/dhcp/systemd/cni-dhcp.service %{buildroot}%{_unitdir}
|
||||
install -p -m 0644 plugins/ipam/dhcp/systemd/cni-dhcp.socket %{buildroot}%{_unitdir}
|
||||
|
||||
# source codes for building projects
|
||||
%if 0%{?with_devel}
|
||||
@ -331,6 +331,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 24 2024 wangshuo <wangshuo@kylinos.cn> - 1.1.1-6
|
||||
- change systemd unit file permission to 644
|
||||
|
||||
* Fri Jun 21 2024 zmr_2020 <zhang_jian7@hoperun.com> - 1.1.1-5
|
||||
- strip binary files
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user