From 34b071fa6ac688da4f75b675398c1e0d10a089f4 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Fri, 12 Mar 2021 17:25:22 +0800 Subject: [PATCH] Disable golist build --- go-compilers.spec | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/go-compilers.spec b/go-compilers.spec index db44c3f..4059ebd 100644 --- a/go-compilers.spec +++ b/go-compilers.spec @@ -6,7 +6,7 @@ Name: go-compilers Version: 1 -Release: 33 +Release: 34 Summary: Go language compilers for various architectures License: GPLv3+ Source0: https://github.com/gofed/symbols-extractor/archive/%{commit}/symbols-extractor-%{shortcommit}.tar.gz @@ -20,7 +20,6 @@ go-compilers provides correct golang language compiler base on an architecture. %package golang-compiler Summary: compiler for golang -BuildRequires: golang Requires: golang Provides: compiler(go-compiler) = 2 compiler(golang) @@ -28,17 +27,8 @@ Provides: compiler(go-compiler) = 2 compiler(golang) Compiler for golang. %prep -%autosetup -n symbols-extractor-%{commit} -p1 %autosetup -n go-macros-%{m_commit} -T -b 1 -p1 -%build -install -d src/github.com/gofed -cd ../symbols-extractor-%{commit} -export GOPATH=$(pwd):%{gopath} -sed -i "s/.*\/cmd\/extract.*/\t\\\\/" Makefile -sed -i "s/.*\/cmd\/checkapi.*/\t\\\\/" Makefile -%make_build - %install install -m 755 -D bin/go-rpm-integration %{buildroot}%{_bindir}/go-rpm-integration install -m 755 -D rpm/gobundled.prov %{buildroot}%{_rpmconfigdir}/gobundled.prov @@ -48,13 +38,14 @@ install -m 644 -D rpm/macros.d/macros.go-rpm %{buildroot}%{_rpmconfigdir}/macros install -m 644 -D rpm/fileattrs/go.attr %{buildroot}%{_rpmconfigdir}/fileattrs/go.attr install -m 644 -D rpm/fileattrs/gobundled.attr %{buildroot}%{_rpmconfigdir}/fileattrs/gobundled.attr install -m 644 -D rpm/fileattrs/gosymlink.attr %{buildroot}%{_rpmconfigdir}/fileattrs/gosymlink.attr -cd ../symbols-extractor-%{commit} -install -D -p -m 0755 golist %{buildroot}%{_bindir}/golist %files golang-compiler %{_rpmconfigdir}/* %{_bindir}/* %changelog +* Thu Mar 11 2021 lingsheng - 1-34 +- Disable golist build + * Fri Nov 29 2019 lingsheng - 1-33 - Package init -- Gitee