mirror of
https://github.com/openRuyi-Project/openRuyi.git
synced 2026-04-28 11:03:42 +00:00
53 lines
1.5 KiB
RPMSpec
53 lines
1.5 KiB
RPMSpec
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
|
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
|
|
# SPDX-FileContributor: misaka00251 <liuxin@iscas.ac.cn>
|
|
#
|
|
# SPDX-License-Identifier: MulanPSL-2.0
|
|
|
|
%define _name net
|
|
%define go_import_path golang.org/x/net
|
|
# So tired, can't stand more flaky tests - 251
|
|
%define go_test_exclude_glob %{shrink:
|
|
golang.org/x/net/http2
|
|
golang.org/x/net/quic
|
|
}
|
|
|
|
Name: go-golang-x-net
|
|
Version: 0.48.0
|
|
Release: %autorelease
|
|
Summary: Go supplementary network libraries
|
|
License: BSD-3-Clause
|
|
URL: https://golang.org/x/net
|
|
VCS: git:https://github.com/golang/net
|
|
#!RemoteAsset
|
|
Source0: https://github.com/golang/net/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildSystem: golangmodules
|
|
|
|
BuildOption(prep): -n %{_name}-%{version}
|
|
|
|
BuildRequires: go
|
|
BuildRequires: go-rpm-macros
|
|
BuildRequires: go(golang.org/x/crypto)
|
|
BuildRequires: go(golang.org/x/sys)
|
|
BuildRequires: go(golang.org/x/term)
|
|
BuildRequires: go(golang.org/x/text)
|
|
|
|
Provides: go(golang.org/x/net) = %{version}
|
|
|
|
Requires: go(golang.org/x/crypto)
|
|
Requires: go(golang.org/x/sys)
|
|
Requires: go(golang.org/x/term)
|
|
Requires: go(golang.org/x/text)
|
|
|
|
%description
|
|
This package provides supplementary Go networking libraries.
|
|
|
|
%files
|
|
%license LICENSE*
|
|
%doc README*
|
|
%{go_sys_gopath}/%{go_import_path}
|
|
|
|
%changelog
|
|
%{?autochangelog}
|