!6 [sync] PR-2: strip coredns binaries
From: @openeuler-sync-bot Reviewed-by: @duguhaotian,@duguhaotian Signed-off-by: @duguhaotian
This commit is contained in:
commit
af0710da68
12
coredns.spec
12
coredns.spec
@ -2,7 +2,7 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
Name: coredns
|
Name: coredns
|
||||||
Version: 1.7.0
|
Version: 1.7.0
|
||||||
Release: 1.0
|
Release: 1.1
|
||||||
Summary: CoreDNS is a DNS server/forwarder, written in Go
|
Summary: CoreDNS is a DNS server/forwarder, written in Go
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://coredns.io
|
URL: https://coredns.io
|
||||||
@ -42,7 +42,9 @@ go build -mod=vendor -v -buildmode=pie -o coredns
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
# Binaries
|
# Binaries
|
||||||
|
strip coredns
|
||||||
install -D -m 0755 coredns %{buildroot}%{_sbindir}/coredns
|
install -D -m 0755 coredns %{buildroot}%{_sbindir}/coredns
|
||||||
|
|
||||||
# Manpages
|
# Manpages
|
||||||
install -d %{buildroot}/%{_mandir}/man1
|
install -d %{buildroot}/%{_mandir}/man1
|
||||||
install -m 0644 man/coredns*.1 %{buildroot}/%{_mandir}/man1
|
install -m 0644 man/coredns*.1 %{buildroot}/%{_mandir}/man1
|
||||||
@ -63,5 +65,11 @@ install -m 0644 man/coredns-*.7 %{buildroot}/%{_mandir}/man7
|
|||||||
%{_mandir}/man7/coredns-*
|
%{_mandir}/man7/coredns-*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Mar 11 2021 WuJing <wujing50@huawei.com>
|
* Wed Sep 08 2021 WuJing <wujing50@huawei.com> 1.7.0-1.1
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: strip coredns
|
||||||
|
|
||||||
|
* Thu Mar 11 2021 WuJing <wujing50@huawei.com> - 1.7.0-1.0
|
||||||
- Initial Packaging
|
- Initial Packaging
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user