!50 [sync] PR-49: change systemd unit file permission to 644
From: @openeuler-sync-bot Reviewed-by: @jianminw Signed-off-by: @jianminw
This commit is contained in:
commit
f366b91720
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Name: %{project}-%{repo}
|
Name: %{project}-%{repo}
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Libraries for use by writing CNI plugin
|
Summary: Libraries for use by writing CNI plugin
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/containernetworking/plugins
|
URL: https://github.com/containernetworking/plugins
|
||||||
@ -201,8 +201,8 @@ cp %{_builddir}/cni %{buildroot}%{_libexecdir}/cni/
|
|||||||
install -d -p %{buildroot}/%{gopath}/src/github.com/containernetworking/plugins/
|
install -d -p %{buildroot}/%{gopath}/src/github.com/containernetworking/plugins/
|
||||||
|
|
||||||
install -dp %{buildroot}%{_unitdir}
|
install -dp %{buildroot}%{_unitdir}
|
||||||
install -p plugins/ipam/dhcp/systemd/cni-dhcp.service %{buildroot}%{_unitdir}
|
install -p -m 0644 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.socket %{buildroot}%{_unitdir}
|
||||||
|
|
||||||
# source codes for building projects
|
# source codes for building projects
|
||||||
%if 0%{?with_devel}
|
%if 0%{?with_devel}
|
||||||
@ -313,6 +313,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 24 2024 wangshuo <wangshuo@kylinos.cn> - 1.2.0-4
|
||||||
|
- change systemd unit file permission to 644
|
||||||
|
|
||||||
* Fri Mar 1 2024 luofeng <luofeng13@huawei.com> - 1.2.0-3
|
* Fri Mar 1 2024 luofeng <luofeng13@huawei.com> - 1.2.0-3
|
||||||
- Avoid using C ldflags with Go compiler
|
- Avoid using C ldflags with Go compiler
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user