From 5653399c788be77bb81041013ed900f8b2ce3cdf Mon Sep 17 00:00:00 2001 From: Jvle Date: Fri, 17 Jul 2026 17:43:40 +0800 Subject: [PATCH] SPECS: Add go-github-pquerna-cachecontrol Signed-off-by: Jvle --- go-github-pquerna-cachecontrol.spec | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 go-github-pquerna-cachecontrol.spec diff --git a/go-github-pquerna-cachecontrol.spec b/go-github-pquerna-cachecontrol.spec new file mode 100644 index 0000000..0708b8f --- /dev/null +++ b/go-github-pquerna-cachecontrol.spec @@ -0,0 +1,38 @@ +# 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 cachecontrol +%define go_import_path github.com/pquerna/cachecontrol + +Name: go-github-pquerna-cachecontrol +Version: 0.2.0 +Release: %autorelease +Summary: Implements the logic for HTTP Caching +License: Apache-2.0 +URL: https://github.com/pquerna/cachecontrol +#!RemoteAsset: sha256:cfe3fd03d57f1e06d2d4df587383e50b087667fdd23dcc89300e4b47c7a66fef +Source0: https://github.com/pquerna/cachecontrol/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/pquerna/cachecontrol) = %{version} + + +%description +cachecontrol: HTTP Caching Parser and Interpretation + + +%files +%doc README.md +%license LICENSE +%{go_sys_gopath}/%{go_import_path} + +%changelog +%{?autochangelog} +