Browse code

Updating ruby to latest, specify required ruby version in rubygem-libxml-ruby, rubygem-nokogiri

Change-Id: I1c043b3b15e690bb173fca0e7390a5b9f81b3582
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2423
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>

smaliakkal authored on 2017/04/14 07:36:17
Showing 3 changed files
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:    Ruby
2 2
 Name:       ruby
3
-Version:    2.4.0
3
+Version:    2.4.1
4 4
 Release:    1%{?dist}
5 5
 License:    BSDL
6 6
 URL:        https://www.ruby-lang.org/en/
7 7
 Group:      System Environment/Security
8 8
 Vendor:     VMware, Inc.
9 9
 Distribution: Photon
10
-Source0:    http://cache.ruby-lang.org/pub/ruby/%{version}/%{name}-%{version}.tar.gz
11
-%define sha1 ruby=d44a3c50a0e742341ed3033d5db79d865151a4f4
10
+Source0:    http://cache.ruby-lang.org/pub/ruby/%{name}-%{version}.tar.gz
11
+%define sha1 ruby=47909a0f77ea900573f027d27746960ad6d07d15
12 12
 BuildRequires:  openssl-devel
13 13
 BuildRequires:  ca-certificates
14 14
 BuildRequires:  readline-devel
... ...
@@ -49,6 +49,8 @@ rm -rf %{buildroot}/*
49 49
 %{_docdir}/%{name}-%{version}
50 50
 %{_mandir}/man1/*
51 51
 %changelog
52
+*   Thu Apr 13 2017 Siju Maliakkal <smaliakkal@vmware.com> 2.4.1-1
53
+-   Update to latest 2.4.1
52 54
 *   Wed Jan 18 2017 Anish Swaminathan <anishs@vmware.com> 2.4.0-1
53 55
 -   Update to 2.4.0 - Fixes CVE-2016-2339
54 56
 *   Mon Oct 10 2016 ChangLee <changlee@vmware.com> 2.3.0-4
... ...
@@ -3,7 +3,7 @@
3 3
 %define gem_name libxml-ruby
4 4
 Name:           rubygem-libxml-ruby
5 5
 Version:        3.0.0
6
-Release:        1%{?dist}
6
+Release:        2%{?dist}
7 7
 Summary:        Provides Ruby language bindings for the GNOME Libxml2 XML toolkit
8 8
 Group:          Applications/Programming
9 9
 License:        BSD
... ...
@@ -12,9 +12,9 @@ Distribution:   Photon
12 12
 URL:            https://rubygems.org/gems/%{gem_name}
13 13
 Source0:        https://rubygems.org/downloads/libxml-ruby-%{version}.gem
14 14
 %define sha1    libxml-ruby=9a4f28d019da0aef73773d676f9ba3ce9294b6bb
15
-BuildRequires:  ruby = 2.4.0
15
+BuildRequires:  ruby >= 2.4.0
16 16
 BuildRequires:  libxml2-devel 
17
-Requires:       ruby = 2.4.0
17
+Requires:       ruby >= 2.4.0
18 18
 %description
19 19
 Provides Ruby language bindings for the GNOME Libxml2 XML toolkit
20 20
 %prep
... ...
@@ -26,6 +26,8 @@ gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
26 26
 %defattr(-,root,root,-)
27 27
 %{gemdir}
28 28
 %changelog
29
+*   Thu Apr 13 2017 Siju Maliakkal <smaliakkal@vmware.com> 3.0.0-2
30
+-   Change ruby version in buildrequires and requires
29 31
 *   Wed Mar 22 2017 Xiaolin Li <xiaolinl@vmware.com> 3.0.0-1
30 32
 -   Updated to version 3.0.0.
31 33
 *   Wed Jan 25 2017 Anish Swaminathan <anishs@vmware.com> 2.8.0-3
... ...
@@ -5,7 +5,7 @@
5 5
 Summary:        Nokogiri is an HTML, XML, SAX, and Reader parser.
6 6
 Name:           rubygem-nokogiri
7 7
 Version:        1.7.1
8
-Release:        1%{?dist}
8
+Release:        2%{?dist}
9 9
 License:        MIT
10 10
 Group:          Development/Languages
11 11
 Vendor:         VMware, Inc.
... ...
@@ -13,11 +13,11 @@ Distribution:   Photon
13 13
 URL:            https://rubygems.org/gems/nokogiri/
14 14
 Source0:        https://rubygems.org/downloads/nokogiri-%{version}.gem
15 15
 %define sha1    nokogiri=5731c2d494381be8440f6ace6e5fcb62e7850581
16
-BuildRequires:  ruby = 2.4.0
16
+BuildRequires:  ruby >= 2.4.0
17 17
 BuildRequires:  rubygem-mini_portile2
18 18
 BuildRequires:  libxml2-devel
19 19
 BuildRequires:  libxslt-devel
20
-Requires:       ruby = 2.4.0
20
+Requires:       ruby >= 2.4.0
21 21
 Requires:       rubygem-mini_portile2
22 22
 Requires:       libxml2
23 23
 Requires:       libxslt
... ...
@@ -35,6 +35,8 @@ NOKOGIRI_USE_SYSTEM_LIBRARIES=1 gem install -V --local --force --install-dir %{b
35 35
 %{gemdir}
36 36
 
37 37
 %changelog
38
+*   Thu Apr 13 2017 Siju Maliakkal <smaliakkal@vmware.com> 1.7.1-2
39
+-   Change ruby version in buildrequires and requires
38 40
 *   Wed Mar 22 2017 Xiaolin Li <xiaolinl@vmware.com> 1.7.1-1
39 41
 -   Updated to version 1.7.1.
40 42
 *   Wed Jan 25 2017 Anish Swaminathan <anishs@vmware.com> 1.6.7.2-4