Change-Id: I6029b38785068bf5be79ced3619b40d8c6e7062a
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1973
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: suezzelur <anishs@vmware.com>
| ... | ... |
@@ -1,21 +1,21 @@ |
| 1 |
-Summary: Ruby |
|
| 2 |
-Name: ruby |
|
| 3 |
-Version: 2.3.0 |
|
| 4 |
-Release: 3%{?dist}
|
|
| 5 |
-License: BSDL |
|
| 6 |
-URL: https://www.ruby-lang.org/en/ |
|
| 7 |
-Group: System Environment/Security |
|
| 8 |
-Vendor: VMware, Inc. |
|
| 1 |
+Summary: Ruby |
|
| 2 |
+Name: ruby |
|
| 3 |
+Version: 2.4.0 |
|
| 4 |
+Release: 1%{?dist}
|
|
| 5 |
+License: BSDL |
|
| 6 |
+URL: https://www.ruby-lang.org/en/ |
|
| 7 |
+Group: System Environment/Security |
|
| 8 |
+Vendor: VMware, Inc. |
|
| 9 | 9 |
Distribution: Photon |
| 10 |
-Source0: http://cache.ruby-lang.org/pub/ruby/2.3/%{name}-%{version}.tar.gz
|
|
| 11 |
-%define sha1 ruby=2dfcf7f33bda4078efca30ae28cb89cd0e36ddc4 |
|
| 12 |
-BuildRequires: openssl-devel |
|
| 13 |
-BuildRequires: ca-certificates |
|
| 14 |
-BuildRequires: readline-devel |
|
| 15 |
-BuildRequires: readline |
|
| 16 |
-Requires: ca-certificates |
|
| 17 |
-Requires: openssl |
|
| 18 |
-Requires: gmp |
|
| 10 |
+Source0: http://cache.ruby-lang.org/pub/ruby/%{version}/%{name}-%{version}.tar.gz
|
|
| 11 |
+%define sha1 ruby=d44a3c50a0e742341ed3033d5db79d865151a4f4 |
|
| 12 |
+BuildRequires: openssl-devel |
|
| 13 |
+BuildRequires: ca-certificates |
|
| 14 |
+BuildRequires: readline-devel |
|
| 15 |
+BuildRequires: readline |
|
| 16 |
+Requires: ca-certificates |
|
| 17 |
+Requires: openssl |
|
| 18 |
+Requires: gmp |
|
| 19 | 19 |
%description |
| 20 | 20 |
The Ruby package contains the Ruby development environment. |
| 21 | 21 |
This is useful for object-oriented scripting. |
| ... | ... |
@@ -24,7 +24,7 @@ This is useful for object-oriented scripting. |
| 24 | 24 |
%setup -q |
| 25 | 25 |
%build |
| 26 | 26 |
./configure \ |
| 27 |
- --prefix=%{_prefix} \
|
|
| 27 |
+ --prefix=%{_prefix} \
|
|
| 28 | 28 |
--enable-shared \ |
| 29 | 29 |
--docdir=%{_docdir}/%{name}-%{version}
|
| 30 | 30 |
make %{?_smp_mflags}
|
| ... | ... |
@@ -33,15 +33,14 @@ make %{?_smp_mflags}
|
| 33 | 33 |
make DESTDIR=%{buildroot} install
|
| 34 | 34 |
%check |
| 35 | 35 |
make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
|
| 36 |
-%post -p /sbin/ldconfig |
|
| 37 |
-%postun -p /sbin/ldconfig |
|
| 36 |
+%post -p /sbin/ldconfig |
|
| 37 |
+%postun -p /sbin/ldconfig |
|
| 38 | 38 |
%clean |
| 39 | 39 |
rm -rf %{buildroot}/*
|
| 40 | 40 |
%files |
| 41 | 41 |
%defattr(-,root,root) |
| 42 | 42 |
%{_bindir}/*
|
| 43 | 43 |
%{_includedir}/*
|
| 44 |
-%{_libdir}/*.a
|
|
| 45 | 44 |
%{_libdir}/*.so
|
| 46 | 45 |
%{_libdir}/*.so.*
|
| 47 | 46 |
%{_libdir}/pkgconfig/*.pc
|
| ... | ... |
@@ -50,9 +49,11 @@ rm -rf %{buildroot}/*
|
| 50 | 50 |
%{_docdir}/%{name}-%{version}
|
| 51 | 51 |
%{_mandir}/man1/*
|
| 52 | 52 |
%changelog |
| 53 |
-* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.3.0-3 |
|
| 54 |
-- GA - Bump release of all rpms |
|
| 55 |
-* Tue Mar 09 2016 Divya Thaluru <dthaluru@vmware.com> 2.3.0-2 |
|
| 53 |
+* Wed Jan 18 2017 Anish Swaminathan <anishs@vmware.com> 2.4.0-1 |
|
| 54 |
+- Update to 2.4.0 - Fixes CVE-2016-2339 |
|
| 55 |
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.3.0-3 |
|
| 56 |
+- GA - Bump release of all rpms |
|
| 57 |
+* Wed Mar 09 2016 Divya Thaluru <dthaluru@vmware.com> 2.3.0-2 |
|
| 56 | 58 |
- Adding readline support |
| 57 | 59 |
* Wed Jan 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.3.0-1 |
| 58 | 60 |
- Updated to 2.3.0-1 |
| ... | ... |
@@ -60,5 +61,5 @@ rm -rf %{buildroot}/*
|
| 60 | 60 |
- Added SSL support |
| 61 | 61 |
* Mon Apr 6 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.2.1-1 |
| 62 | 62 |
- Version upgrade to 2.2.1 |
| 63 |
-* Thu Oct 10 2014 Divya Thaluru <dthaluru@vmware.com> 2.1.3-1 |
|
| 64 |
-- Initial build. First version |
|
| 63 |
+* Fri Oct 10 2014 Divya Thaluru <dthaluru@vmware.com> 2.1.3-1 |
|
| 64 |
+- Initial build. First version |