change golang-src to arch from noarch 46/310946/1 accepted/tizen_9.0_base accepted/tizen_base accepted/tizen_base_asan accepted/tizen_base_dev accepted/tizen_base_toolchain accepted/tizen_base_x accepted/tizen_base_x_asan tizen_9.0_base tizen_base accepted/tizen/9.0/base/20241030.075106 accepted/tizen/base/20240517.023247 accepted/tizen/base/asan/20240806.090017 accepted/tizen/base/dev/20241206.041053 accepted/tizen/base/toolchain/20240603.231414 accepted/tizen/base/x/20240520.013359 accepted/tizen/base/x/asan/20240624.231354 tizen_9.0_m2_release
authorHyunggi Lee <hyunggi.lee@samsung.com>
Fri, 10 May 2024 04:55:47 +0000 (13:55 +0900)
committerHyunggi Lee <hyunggi.lee@samsung.com>
Fri, 10 May 2024 04:55:49 +0000 (13:55 +0900)
OBS manage build count version. it is incresed when rebuild.
sometimes build conut is not same with other archs.

golang-docs-1.21.4-2.2.noarch.rpm
golang-docs-1.21.4-2.3.noarch.rpm
golang-misc-1.21.4-2.2.noarch.rpm
golang-misc-1.21.4-2.3.noarch.rpm
golang-src-1.21.4-2.2.noarch.rpm
golang-src-1.21.4-2.3.noarch.rpm
golang-tests-1.21.4-2.2.noarch.rpm
golang-tests-1.21.4-2.3.noarch.rpm

in this case, make build error
[    6s] expanding package dependencies...
[    7s] expansion error
[    7s]   nothing provides golang-src = 1.21.4-2.3 needed by golang
[    7s]

The normal solution is to package so as not to generate golang-src.rpm
but as a short-term measure, we respond by changing noarch to arch.

Change-Id: I81b232dfe6aebc4ca3b8275d2112ca573e3518f1
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
packaging/golang.spec

index 2d58ba22acbd2661c5d399ad69b2c2d5e36a565f..ab20d47ec19578d15fbb6e482a980da594c5d841 100644 (file)
@@ -197,7 +197,6 @@ BuildArch:     noarch
 
 %package        src
 Summary:        Golang compiler source tree
-BuildArch:      noarch
 %description    src
 %{summary}