rubygem-async-http: remove version dependency of rubygem-protocol-http1 (#10682)
Co-authored-by: Dallas Delaney <dadelan@example.com>
This commit is contained in:
Родитель
9cc3b9949b
Коммит
8f60da79d4
|
@ -0,0 +1,25 @@
|
|||
From 058c72f0bdc5daa6078de96674aa68d8895ae921 Mon Sep 17 00:00:00 2001
|
||||
From: Dallas Delaney <dadelan@microsoft.com>
|
||||
Date: Tue, 8 Oct 2024 12:59:09 -0700
|
||||
Subject: [PATCH] remove version dependency on protocol-http1
|
||||
|
||||
---
|
||||
async-http.gemspec | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/async-http.gemspec b/async-http.gemspec
|
||||
index 5078ab0..44c8035 100644
|
||||
--- a/async-http.gemspec
|
||||
+++ b/async-http.gemspec
|
||||
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
||||
spec.add_dependency "async-io", ">= 1.28"
|
||||
spec.add_dependency "async-pool", ">= 0.2"
|
||||
spec.add_dependency "protocol-http", "~> 0.22.0"
|
||||
- spec.add_dependency "protocol-http1", "~> 0.14.0"
|
||||
+ spec.add_dependency "protocol-http1"
|
||||
spec.add_dependency "protocol-http2", "~> 0.14.0"
|
||||
|
||||
spec.add_development_dependency "async-container", "~> 0.14"
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -3,13 +3,14 @@
|
|||
Summary: A HTTP client and server library
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.56.5
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: MIT
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Group: Development/Languages
|
||||
URL: https://github.com/socketry/async-http
|
||||
Source0: https://github.com/socketry/async-http/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
|
||||
Patch0: remove-http-protocol1-dep.patch
|
||||
BuildRequires: ruby
|
||||
Requires: rubygem-async
|
||||
Requires: rubygem-async-io
|
||||
|
@ -25,7 +26,7 @@ HTTP/1.1 and HTTP/2 including TLS. Support for streaming requests
|
|||
and responses.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
%autosetup -p1 -n %{gem_name}-%{version}
|
||||
|
||||
%build
|
||||
gem build %{gem_name}
|
||||
|
@ -38,6 +39,9 @@ gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-
|
|||
%{gemdir}
|
||||
|
||||
%changelog
|
||||
* Thu Oct 03 2024 Dallas Delaney <dadelan@microsoft.com> - 0.56.5-2
|
||||
- Add patch to remove dependency on pinned version of rubygem-protocol-http1
|
||||
|
||||
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 0.56.5-1
|
||||
- Update to v0.56.5.
|
||||
- Build from .tar.gz source.
|
||||
|
|
Загрузка…
Ссылка в новой задаче