From 34a6b9e66112b649e5611c0494848bf0c2094089 Mon Sep 17 00:00:00 2001 From: Jvle Date: Wed, 15 Jul 2026 18:20:35 +0800 Subject: [PATCH] SPECS: Add go-github-docker-cli Signed-off-by: Jvle --- go-github-docker-cli.spec | 45 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 go-github-docker-cli.spec diff --git a/go-github-docker-cli.spec b/go-github-docker-cli.spec new file mode 100644 index 0000000..9c64347 --- /dev/null +++ b/go-github-docker-cli.spec @@ -0,0 +1,45 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: Jvle +# +# 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} +