Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
go
go.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File go.spec of Package go
# # spec file for package go # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # # nodebuginfo # By default we don't include tsan. It's only supported on amd64. %define tsan_arch x86_64 %if 0%{?suse_version} >= 1550 %define short_version 1.12 %else %define short_version 1.11 %endif Name: go Version: 1.12 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A compiled, garbage-collected, concurrent programming language License: BSD-3-Clause Group: Development/Languages/Other Url: http://golang.org Source: README Recommends: go-doc = %{version} ExclusiveArch: %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x # We provide golang(API) so that projects can Prefer: go. Any project using Go # code with golang(API) BuildRequires should add Prefer: go. Provides: golang(API) = %{short_version} Requires: go%{short_version} %description Go is an expressive, concurrent, garbage collected systems programming language that is type safe and memory safe. It has pointers but no pointer arithmetic. Go has fast builds, clean syntax, garbage collection, methods for any type, and run-time reflection. It feels like a dynamic language but has the speed and safety of a static language. %package doc Summary: Go documentation License: BSD-3-Clause Group: Documentation/Other Requires: go = %{version} Requires: go%{short_version}-doc Provides: go-doc = %{version} %description doc Go examples and documentation. %ifarch %{tsan_arch} # boo#1052528 %package race Summary: Go runtime race detector License: NCSA or MIT Group: Development/Languages/Other Url: https://compiler-rt.llvm.org/ Requires: go = %{version} Supplements: go = %{version} ExclusiveArch: %{tsan_arch} Requires: go%{short_version}-race %description race Go runtime race detector libraries. Install this package if you wish to use the -race option, in order to detect race conditions present in your Go programs. %endif %prep %build %install install -D -m 0644 %{S:0} %{buildroot}/usr/share/doc/packages/go/README install -D -m 0644 %{S:0} %{buildroot}/usr/share/doc/packages/go-doc/README %ifarch %{tsan_arch} install -D -m 0644 %{S:0} %{buildroot}/usr/share/doc/packages/go-race/README %endif %files %defattr(-,root,root,-) %doc /usr/share/doc/packages/go/ %files doc %defattr(-,root,root,-) %doc /usr/share/doc/packages/go-doc/ %ifarch %{tsan_arch} %files race %doc /usr/share/doc/packages/go-race/ %defattr(-,root,root,-) %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor