Files
go-github-containerd-platforms/go-github-containerd-platforms.spec
2026-07-16 18:24:26 +08:00

46 lines
1.4 KiB
RPMSpec

# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: Jvle <keke.oerv@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%define _name platforms
%define go_import_path github.com/containerd/platforms
Name: go-github-containerd-platforms
Version: 0.2.1
Release: %autorelease
Summary: Provides a toolkit for normalizing, matching and specifying container platforms
License: Apache-2.0
URL: https://github.com/containerd/platforms
#!RemoteAsset: sha256:8330cc09017f731c1775892509917e5cf8bcd139f378636deb3ceb6472390e6e
Source0: https://github.com/containerd/platforms/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: golangmodules
BuildRequires: go
BuildRequires: go-rpm-macros
BuildRequires: go(github.com/containerd/log)
BuildRequires: go(github.com/opencontainers/image-spec)
BuildRequires: go(golang.org/x/sys)
Provides: go(github.com/containerd/platforms) = %{version}
Requires: go(github.com/containerd/log)
Requires: go(github.com/opencontainers/image-spec)
Requires: go(golang.org/x/sys)
%description
A Go package for formatting, normalizing and matching container
platforms.
%files
%doc README.md
%license LICENSE
%{go_sys_gopath}/%{go_import_path}
%changelog
%autochangelog