Browse code

Rubygem dependency on ruby version for nokogiri and libxml-ruby

Change-Id: Ie4666939ecc4a5ef9adaf1a1cc68cc5e62eafe7a
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2035
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Priyesh Padmavilasom <ppadmavilasom@vmware.com>

suezzelur authored on 2017/02/01 08:09:56
Showing 2 changed files
... ...
@@ -3,15 +3,16 @@
3 3
 %define gem_name libxml-ruby
4 4
 Name: rubygem-libxml-ruby
5 5
 Version: 2.8.0
6
-Release: 3%{?dist}
6
+Release: 4%{?dist}
7 7
 Summary: Provides Ruby language bindings for the GNOME Libxml2 XML toolkit
8 8
 Group: Applications/Programming
9 9
 License: BSD
10 10
 URL: https://rubygems.org/gems/%{gem_name}
11 11
 Source0: https://rubygems.org/downloads/libxml-ruby-%{version}.gem
12 12
 %define sha1 libxml-ruby=6eb8d10c1ec340939bc0e5610a145e4933c67635
13
-BuildRequires: ruby libxml2-devel 
14
-Requires: ruby
13
+BuildRequires: ruby = 2.4.0
14
+BuildRequires: libxml2-devel 
15
+Requires: ruby = 2.4.0
15 16
 %description
16 17
 Provides Ruby language bindings for the GNOME Libxml2 XML toolkit
17 18
 %prep
... ...
@@ -23,6 +24,8 @@ gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
23 23
 %defattr(-,root,root,-)
24 24
 %{gemdir}
25 25
 %changelog
26
+* Tue Jan 31 2017 Anish Swaminathan <anishs@vmware.com> 2.8.0-4
27
+- Take dependency on ruby version
26 28
 * Wed Jan 25 2017 Anish Swaminathan <anishs@vmware.com> 2.8.0-3
27 29
 - Bump up release number to reflect ruby upgrade
28 30
 * Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.8.0-2
... ...
@@ -4,18 +4,18 @@
4 4
 
5 5
 Name: rubygem-nokogiri
6 6
 Version: 1.6.7.2
7
-Release: 4%{?dist}
7
+Release: 5%{?dist}
8 8
 Summary: Nokogiri is an HTML, XML, SAX, and Reader parser.
9 9
 Group: Development/Languages
10 10
 License: MIT
11 11
 URL: https://rubygems.org/gems/nokogiri/
12 12
 Source0: https://rubygems.org/downloads/nokogiri-%{version}.gem
13 13
 %define sha1 nokogiri=d6a374a969abd6105d19076558e57a5cbb10e484
14
-BuildRequires: ruby
14
+BuildRequires: ruby = 2.4.0
15 15
 BuildRequires: rubygem-mini_portile2
16 16
 BuildRequires: libxml2-devel
17 17
 BuildRequires: libxslt-devel
18
-Requires: ruby
18
+Requires: ruby = 2.4.0
19 19
 Requires: rubygem-mini_portile2
20 20
 Requires: libxml2
21 21
 Requires: libxslt
... ...
@@ -33,6 +33,8 @@ NOKOGIRI_USE_SYSTEM_LIBRARIES=1 gem install -V --local --force --install-dir %{b
33 33
 %{gemdir}
34 34
 
35 35
 %changelog
36
+*   Tue Jan 31 2017 Anish Swaminathan <anishs@vmware.com> 1.6.7.2-5
37
+-   Take dependency on ruby version
36 38
 *   Wed Jan 25 2017 Anish Swaminathan <anishs@vmware.com> 1.6.7.2-4
37 39
 -   Bump up release number to reflect ruby upgrade
38 40
 *   Thu Oct 27 2016 Anish Swaminathan <anishs@vmware.com> 1.6.7.2-3