From 6266723a4d825861b7c2b3227293916d8ace8b03 Mon Sep 17 00:00:00 2001 From: hanchao Date: Mon, 23 May 2022 18:42:19 +0800 Subject: [PATCH] golang-help remove architecture related files and golang remove time zones reason:golang-help contains architecture related fils and they should be deleted, in addition to this, times zone files should be deleted from golang package. Signed-off-by: hanchao --- golang.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/golang.spec b/golang.spec index 597c7e6..c4cca0b 100644 --- a/golang.spec +++ b/golang.spec @@ -66,7 +66,7 @@ Name: golang Version: 1.17.3 -Release: 3 +Release: 4 Summary: The Go Programming Language License: BSD and Public Domain URL: https://golang.org/ @@ -363,7 +363,7 @@ if [ $1 = 0 ]; then %{_sbindir}/update-alternatives --remove go %{goroot}/bin/go fi -%files -f go-pkg.list +%files -f go-pkg.list -f go-shared.list %doc AUTHORS CONTRIBUTORS LICENSE PATENTS %doc %{goroot}/VERSION %dir %{goroot}/doc @@ -373,6 +373,7 @@ fi %exclude %{goroot}/doc/ %exclude %{goroot}/misc/ %exclude %{goroot}/test/ +%exclude %{goroot}/lib/ %{goroot}/* %dir %{gopath} %dir %{gopath}/src @@ -383,13 +384,18 @@ fi %dir %{gopath}/src/golang.org %dir %{gopath}/src/golang.org/x -%if %{shared} -%files help -f go-docs.list -f go-shared.list -%endif +%files help -f go-docs.list %files devel -f go-tests.list -f go-misc.list -f go-src.list %changelog +* Mon May 23 2022 hanchao - 1.17.3-4 +- Type:requiremenet +- CVE: +- SUG:NA +- DESC: +- golang-help remove architecture related files and golang remove time zones + * Fri May 6 2022 hanchao - 1.17.3-3 - Type:CVE - CVE:CVE-2021-44717 -- Gitee