Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:kubic:libcontainers:stable
golang-go-1.19
golang-1.19_1.19-1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File golang-1.19_1.19-1.spec of Package golang-go-1.19
%global debug_package %{nil} %global __strip /bin/true %define _use_internal_dependency_generator 0 %define __find_requires %{nil} %global __spec_install_post \ /usr/lib/rpm/check-rpaths \ /usr/lib/rpm/check-buildroot \ /usr/lib/rpm/brp-compress %undefine _build_create_debug %define __arch_install_post export NO_BRP_STRIP_DEBUG=true NO_BRP_AR=true Name: golang-1.19 Epoch: 100 Version: 1.19 Release: 1%{?dist} Summary: Go programming language License: BSD-3-Clause URL: https://github.com/golang/go/tags Source0: %{name}_%{version}.orig.tar.gz %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150000 BuildRequires: go %else BuildRequires: golang-bin BuildRequires: golang-src %endif BuildRequires: fdupes BuildRequires: net-tools Provides: go = %{epoch}:%{version}-%{release} Provides: golang = %{epoch}:%{version}-%{release} Provides: golang-1.19-devel = %{epoch}:%{version}-%{release} Provides: golang-1.19-devel-static = %{epoch}:%{version}-%{release} Provides: golang-bin = %{epoch}:%{version}-%{release} Provides: golang-docs = %{epoch}:%{version}-%{release} Provides: golang-misc = %{epoch}:%{version}-%{release} Provides: golang-race = %{epoch}:%{version}-%{release} Provides: golang-shared = %{epoch}:%{version}-%{release} Provides: golang-src = %{epoch}:%{version}-%{release} Provides: golang-tests = %{epoch}:%{version}-%{release} Conflicts: go < %{epoch}:%{version}-%{release} Conflicts: golang < %{epoch}:%{version}-%{release} Conflicts: golang-bin < %{epoch}:%{version}-%{release} Conflicts: golang-docs < %{epoch}:%{version}-%{release} Conflicts: golang-misc < %{epoch}:%{version}-%{release} Conflicts: golang-race < %{epoch}:%{version}-%{release} Conflicts: golang-shared < %{epoch}:%{version}-%{release} Conflicts: golang-src < %{epoch}:%{version}-%{release} Conflicts: golang-tests < %{epoch}:%{version}-%{release} %description The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language. %prep %autosetup -T -c -n %{name}_%{version}-%{release} tar -zx -f %{S:0} --strip-components=1 -C . %build set -ex && \ export GOROOT=%{buildroot} && \ export GOROOT_FINAL=%{_libdir}/go-1.19 && \ cd ./src && \ bash ./make.bash %install install -Dpm755 -d %{buildroot}%{_bindir} install -Dpm755 -d %{buildroot}%{_libdir}/go-1.19 install -Dpm755 -d %{buildroot}%{_docdir}/go-1.19/html cp -rfp VERSION %{buildroot}%{_libdir}/go-1.19/ cp -rfp api %{buildroot}%{_libdir}/go-1.19/ cp -rfp bin %{buildroot}%{_libdir}/go-1.19/ cp -rfp doc/* %{buildroot}%{_docdir}/go-1.19/html/ cp -rfp misc %{buildroot}%{_libdir}/go-1.19/ cp -rfp pkg %{buildroot}%{_libdir}/go-1.19/ cp -rfp src %{buildroot}%{_libdir}/go-1.19/ cp -rfp test %{buildroot}%{_libdir}/go-1.19/ find %{buildroot}%{_libdir}/go-1.19/src -type f -name '*.rc' -delete ln -fs %{_libdir}/go-1.19/bin/go %{buildroot}%{_bindir}/go ln -fs %{_libdir}/go-1.19/bin/gofmt %{buildroot}%{_bindir}/gofmt fdupes -qnrps %{buildroot}%{_prefix} %check %files %license LICENSE %dir %{_libdir}/* %dir %{_docdir}/* %{_bindir}/* %{_libdir}/* %{_docdir}/* %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