diff --git a/coredns.spec b/coredns.spec index 0fa981e6701db0e5380dcd32778549b17f978a9f..5a7eadb51bae066a21006a8fcdadaedbfc919402 100644 --- a/coredns.spec +++ b/coredns.spec @@ -2,7 +2,7 @@ %global debug_package %{nil} Name: coredns Version: 1.7.0 -Release: 1.0 +Release: 1.1 Summary: CoreDNS is a DNS server/forwarder, written in Go License: Apache-2.0 URL: https://coredns.io @@ -42,7 +42,9 @@ go build -mod=vendor -v -buildmode=pie -o coredns %install # Binaries +strip coredns install -D -m 0755 coredns %{buildroot}%{_sbindir}/coredns + # Manpages install -d %{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-* %changelog -* Thu Mar 11 2021 WuJing +* Wed Sep 08 2021 WuJing 1.7.0-1.1 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: strip coredns + +* Thu Mar 11 2021 WuJing - 1.7.0-1.0 - Initial Packaging