diff --git a/coredns.spec b/coredns.spec index 5a7eadb51bae066a21006a8fcdadaedbfc919402..e96b880193c96473d79a68e24f328221c61bdc5f 100644 --- a/coredns.spec +++ b/coredns.spec @@ -2,12 +2,14 @@ %global debug_package %{nil} Name: coredns Version: 1.7.0 -Release: 1.1 +Release: 1.2 Summary: CoreDNS is a DNS server/forwarder, written in Go License: Apache-2.0 URL: https://coredns.io Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz Source1: vendor.tar.gz +Source2: sys.tar.gz +Source3: net.tar.gz BuildRequires: golang >= 1.13 BuildRequires: fdupes @@ -25,6 +27,12 @@ Help document for the coredns package. %prep %setup -q -a1 +%ifarch loongarch64 +rm -rf vendor/golang.org/x/sys +tar -xf %{SOURCE2} -C vendor/golang.org/x/ +rm -rf vendor/golang.org/x/net +tar -xf %{SOURCE3} -C vendor/golang.org/x/ +%endif %build GO_BUILD_PATH=$PWD/_build @@ -65,6 +73,12 @@ install -m 0644 man/coredns-*.7 %{buildroot}/%{_mandir}/man7 %{_mandir}/man7/coredns-* %changelog +* Sat Jan 07 2023 huajingyun 1.7.0-1.2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: add loong64 support + * Wed Sep 08 2021 WuJing 1.7.0-1.1 - Type:enhancement - ID:NA diff --git a/net.tar.gz b/net.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..dce0aae82133120a6dfc5a8a3f353ff34e67794a Binary files /dev/null and b/net.tar.gz differ diff --git a/sys.tar.gz b/sys.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c73b4dc4aac3eccd065b3d8640af55352103d46a Binary files /dev/null and b/sys.tar.gz differ