39 lines
1.1 KiB
RPMSpec
39 lines
1.1 KiB
RPMSpec
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
|
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
|
|
#
|
|
# SPDX-License-Identifier: MulanPSL-2.0
|
|
|
|
%define _name plumbing
|
|
%define go_import_path github.com/bodgit/plumbing
|
|
|
|
Name: go-github-bodgit-plumbing
|
|
Version: 1.3.0
|
|
Release: %autorelease
|
|
Summary: Is a collection of assorted I/O helpers
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/bodgit/plumbing
|
|
#!RemoteAsset: sha256:8d8d0a08841825eac2e51ef0792fc78a6667eadd43b4ffafa1a64bb877e70288
|
|
Source0: https://github.com/bodgit/plumbing/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildSystem: golangmodules
|
|
|
|
BuildRequires: go
|
|
BuildRequires: go-rpm-macros
|
|
BuildRequires: go(github.com/stretchr/testify)
|
|
|
|
Provides: go(github.com/bodgit/plumbing) = %{version}
|
|
|
|
|
|
%description
|
|
Assorted I/O U-bends, T-pieces, etc.
|
|
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{go_sys_gopath}/%{go_import_path}
|
|
|
|
%changelog
|
|
%{?autochangelog}
|
|
|