Browse code

rubygem-protocol-http1,http2: fix requires

Change-Id: I02a687e91ca1dd233fa34066ff42b9c209ed1af6
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/22193
Tested-by: gerrit-photon <photon-checkins@vmware.com>

Shreenidhi Shedi authored on 2023/10/22 23:18:52
Showing 2 changed files
... ...
@@ -2,20 +2,25 @@
2 2
 %global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
3 3
 %global gem_name protocol-http1
4 4
 
5
-Name: rubygem-protocol-http1
5
+Name:           rubygem-protocol-http1
6 6
 Version:        0.14.6
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 Summary:        A low level implementation of the HTTP/1 protocol.
9 9
 Group:          Development/Libraries
10 10
 Vendor:         VMware, Inc.
11 11
 Distribution:   Photon
12 12
 License:        MIT
13
-URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
14
-Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
15
-%define sha512    protocol-http1=e9a47a559576e90b3770bac421e043e37c3697f447d2d3d8ee1531be19d8ddc2203f59bfc7baf212fe10cb90656cbdc6470e1061125ab64dd74e84484885ec48
16
-BuildRequires:  ruby
13
+URL:            https://rubygems.org/gems/%{gem_name}
14
+
15
+Source0: https://rubygems.org/downloads/%{gem_name}-%{version}.gem
16
+%define sha512 %{gem_name}=e9a47a559576e90b3770bac421e043e37c3697f447d2d3d8ee1531be19d8ddc2203f59bfc7baf212fe10cb90656cbdc6470e1061125ab64dd74e84484885ec48
17
+
18
+BuildRequires: ruby
17 19
 
18 20
 Requires: rubygem-protocol-http >= 0.5.0, rubygem-protocol-http < 1.0.0
21
+Requires: rubygem-async-io
22
+Requires: rubygem-io-event
23
+Requires: ruby
19 24
 
20 25
 BuildArch: noarch
21 26
 
... ...
@@ -35,11 +40,13 @@ gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
35 35
 %{gemdir}
36 36
 
37 37
 %changelog
38
-*   Wed Aug 17 2022 Gerrit Photon <photon-checkins@vmware.com> 0.14.6-1
39
--   Automatic Version Bump
40
-*   Mon Sep 21 2020 Gerrit Photon <photon-checkins@vmware.com> 0.13.1-1
41
--   Automatic Version Bump
42
-*   Wed Sep 02 2020 Sujay G <gsujay@vmware.com> 0.9.0-2
43
--   Rebuilt with ruby-2.7.1
44
-*   Wed Aug 21 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 0.9.0-1
45
--   Initial build
38
+* Sun Oct 22 2023 Shreenidhi Shedi <sshedi@vmware.com> 0.14.6-2
39
+- Fix requires
40
+* Wed Aug 17 2022 Gerrit Photon <photon-checkins@vmware.com> 0.14.6-1
41
+- Automatic Version Bump
42
+* Mon Sep 21 2020 Gerrit Photon <photon-checkins@vmware.com> 0.13.1-1
43
+- Automatic Version Bump
44
+* Wed Sep 02 2020 Sujay G <gsujay@vmware.com> 0.9.0-2
45
+- Rebuilt with ruby-2.7.1
46
+* Wed Aug 21 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 0.9.0-1
47
+- Initial build
... ...
@@ -2,21 +2,26 @@
2 2
 %global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
3 3
 %global gem_name protocol-http2
4 4
 
5
-Name: rubygem-protocol-http2
5
+Name:           rubygem-protocol-http2
6 6
 Version:        0.14.2
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 Summary:        A low level implementation of the HTTP/2 protocol.
9 9
 Group:          Development/Libraries
10 10
 Vendor:         VMware, Inc.
11 11
 Distribution:   Photon
12 12
 License:        MIT
13
-URL:            https://rubygems.org/gems/%{gem_name}/versions/%{version}
14
-Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
15
-%define sha512    protocol-http2=4ab78fdf626939a1e95b2c231da50f449ab53889204cd5bfbf0316b8ed28eb0c8046c5805c23962594abe0959d5f743ee60efd42e093ff822eaf81e74f62bb10
13
+URL:            https://rubygems.org/gems/%{gem_name}
14
+
15
+Source0: https://rubygems.org/downloads/%{gem_name}-%{version}.gem
16
+%define sha512 %{gem_name}=4ab78fdf626939a1e95b2c231da50f449ab53889204cd5bfbf0316b8ed28eb0c8046c5805c23962594abe0959d5f743ee60efd42e093ff822eaf81e74f62bb10
17
+
16 18
 BuildRequires:  ruby
17 19
 
18 20
 Requires: rubygem-protocol-hpack >= 1.4.0, rubygem-protocol-hpack < 2.0.0
19 21
 Requires: rubygem-protocol-http >= 0.2.0, rubygem-protocol-http < 1.0.0
22
+Requires: rubygem-async-io
23
+Requires: rubygem-io-event
24
+Requires: ruby
20 25
 
21 26
 BuildArch: noarch
22 27
 
... ...
@@ -36,11 +41,13 @@ gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
36 36
 %{gemdir}
37 37
 
38 38
 %changelog
39
-*   Wed Aug 17 2022 Gerrit Photon <photon-checkins@vmware.com> 0.14.2-1
40
--   Automatic Version Bump
41
-*   Mon Sep 21 2020 Gerrit Photon <photon-checkins@vmware.com> 0.14.1-1
42
--   Automatic Version Bump
43
-*   Wed Sep 2 2020 Sujay G <gsujay@vmware.com> 0.9.5-2
44
--   Rebuilt with ruby-2.7.1
45
-*   Wed Aug 21 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 0.9.5-1
46
--   Initial build
39
+* Sun Oct 22 2023 Shreenidhi Shedi <sshedi@vmware.com> 0.14.2-2
40
+- Fix requires
41
+* Wed Aug 17 2022 Gerrit Photon <photon-checkins@vmware.com> 0.14.2-1
42
+- Automatic Version Bump
43
+* Mon Sep 21 2020 Gerrit Photon <photon-checkins@vmware.com> 0.14.1-1
44
+- Automatic Version Bump
45
+* Wed Sep 2 2020 Sujay G <gsujay@vmware.com> 0.9.5-2
46
+- Rebuilt with ruby-2.7.1
47
+* Wed Aug 21 2019 Stanislav Hadjiiski <hadjiiskis@vmware.com> 0.9.5-1
48
+- Initial build