Files
go-github-docker-cli/go-github-docker-cli.spec
2026-07-16 15:23:53 +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 cli
%define go_import_path github.com/docker/cli
# cmd/docker-trust needs unpackaged notary packages, cli/command/image clones GitHub, and e2e tests need a Docker daemon.
%define go_test_exclude %{go_import_path}/cli/command/image
%define go_test_exclude_glob %{go_import_path}/cmd/docker-trust* %{go_import_path}/e2e/*
Name: go-github-docker-cli
Version: 29.6.1
Release: %autorelease
Summary: This repository is the home of the Docker CLI
License: Apache-2.0
URL: https://github.com/docker/cli
#!RemoteAsset: sha256:74d14dd212b07cd3328989dc6a029dde2ebbe6a878199eaaafad54916f456194
Source0: https://github.com/docker/cli/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: golangmodules
BuildRequires: go
BuildRequires: go-rpm-macros
BuildRequires: git
Provides: go(github.com/docker/cli) = %{version}
%check -p
export TZ=UTC
%description
This repository is the home of the Docker CLI.
%files
%doc README.md
%license LICENSE
%{go_sys_gopath}/%{go_import_path}
%changelog
%{?autochangelog}