Upgrade to Ruby 2.2.0 (r48879).
This commit is contained in:
parent
2fa5bddf12
commit
8869002b19
6 changed files with 15 additions and 15 deletions
|
|
@ -39,7 +39,7 @@ diff --git a/configure.in b/configure.in
|
|||
index 0e371e2..d4f1dcb 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -4145,6 +4145,13 @@ AC_SUBST(rubyarchhdrdir)dnl
|
||||
@@ -4156,6 +4156,13 @@ AC_SUBST(rubyarchhdrdir)dnl
|
||||
AC_SUBST(sitearchhdrdir)dnl
|
||||
AC_SUBST(vendorarchhdrdir)dnl
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ diff --git a/configure.in b/configure.in
|
|||
index 37d9a62..553d4d0 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -3367,6 +3367,11 @@ if test ${multiarch+set}; then
|
||||
@@ -3378,6 +3378,11 @@ if test ${multiarch+set}; then
|
||||
fi
|
||||
|
||||
archlibdir='${libdir}/${arch}'
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ diff --git a/configure.in b/configure.in
|
|||
index 17ed3ed..5843651 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -3951,8 +3951,6 @@ AS_CASE(["$target_os"],
|
||||
@@ -3962,8 +3962,6 @@ AS_CASE(["$target_os"],
|
||||
rubyw_install_name='$(RUBYW_INSTALL_NAME)'
|
||||
])
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ index 17ed3ed..5843651 100644
|
|||
|
||||
rubyarchprefix=${multiarch+'${archlibdir}/${RUBY_BASE_NAME}'}${multiarch-'${rubylibprefix}/${arch}'}
|
||||
AC_ARG_WITH(rubyarchprefix,
|
||||
@@ -3982,6 +3980,7 @@ AC_ARG_WITH(ruby-version,
|
||||
@@ -3993,6 +3991,7 @@ AC_ARG_WITH(ruby-version,
|
||||
[ruby_version=full])
|
||||
unset RUBY_LIB_VERSION
|
||||
unset RUBY_LIB_VERSION_STYLE
|
||||
|
|
@ -31,7 +31,7 @@ index 17ed3ed..5843651 100644
|
|||
AS_CASE(["$ruby_version"],
|
||||
[full], [RUBY_LIB_VERSION_STYLE='3 /* full */'],
|
||||
[minor], [RUBY_LIB_VERSION_STYLE='2 /* minor */'])
|
||||
@@ -3998,30 +3997,34 @@ if test ${RUBY_LIB_VERSION_STYLE+set}; then
|
||||
@@ -4009,30 +4008,34 @@ if test ${RUBY_LIB_VERSION_STYLE+set}; then
|
||||
ruby_version="`$CPP -I. -I"${srcdir}" -I"${srcdir}/include" conftest.c | sed '/^ruby_version=/!d;s/ //g'`"
|
||||
eval $ruby_version
|
||||
elif test -z "${ruby_version}"; then
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ diff --git a/configure.in b/configure.in
|
|||
index 553d4d0..03a4152 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -4063,6 +4063,8 @@ AC_SUBST(vendorarchdir)dnl
|
||||
@@ -4074,6 +4074,8 @@ AC_SUBST(vendorarchdir)dnl
|
||||
|
||||
AC_SUBST(configure_args, "`echo "${ac_configure_args}" | sed 's/\\$/$$/g'`")dnl
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ diff --git a/configure.in b/configure.in
|
|||
index 03a4152..0e371e2 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -4037,6 +4037,10 @@ AC_ARG_WITH(vendorarchdir,
|
||||
@@ -4048,6 +4048,10 @@ AC_ARG_WITH(vendorarchdir,
|
||||
[vendorarchdir=$withval],
|
||||
[vendorarchdir=${multiarch+'${rubysitearchprefix}/vendor_ruby/${ruby_version}'}${multiarch-'${vendorlibdir}/${sitearch}'}])
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ index 03a4152..0e371e2 100644
|
|||
if test "${LOAD_RELATIVE+set}"; then
|
||||
AC_DEFINE_UNQUOTED(LOAD_RELATIVE, $LOAD_RELATIVE)
|
||||
RUBY_EXEC_PREFIX=''
|
||||
@@ -4060,6 +4064,7 @@ AC_SUBST(sitearchdir)dnl
|
||||
@@ -4071,6 +4075,7 @@ AC_SUBST(sitearchdir)dnl
|
||||
AC_SUBST(vendordir)dnl
|
||||
AC_SUBST(vendorlibdir)dnl
|
||||
AC_SUBST(vendorarchdir)dnl
|
||||
|
|
|
|||
14
ruby.spec
14
ruby.spec
|
|
@ -10,7 +10,7 @@
|
|||
#%%global milestone preview2
|
||||
|
||||
# Keep the revision enabled for pre-releases from SVN.
|
||||
%global revision 48741
|
||||
%global revision 48879
|
||||
|
||||
%global ruby_archive %{name}-%{ruby_version}
|
||||
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
%endif
|
||||
|
||||
|
||||
%global release 24
|
||||
%global release 1
|
||||
%{!?release_string:%global release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}}
|
||||
|
||||
%global rubygems_version 2.4.4
|
||||
|
|
@ -35,14 +35,14 @@
|
|||
%global irb_version %{ruby_version}
|
||||
|
||||
%global bigdecimal_version 1.2.5
|
||||
%global io_console_version 0.4.2
|
||||
%global io_console_version 0.4.3
|
||||
%global json_version 1.8.1
|
||||
%global minitest_version 5.4.3
|
||||
%global power_assert_version 0.2.2
|
||||
%global psych_version 2.0.8
|
||||
%global rake_version 10.4.2
|
||||
%global rdoc_version 4.2.0
|
||||
%global test_unit_version 3.0.7
|
||||
%global test_unit_version 3.0.8
|
||||
|
||||
# Might not be needed in the future, if we are lucky enough.
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=888262
|
||||
|
|
@ -469,7 +469,7 @@ do
|
|||
rm %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/$cert
|
||||
done
|
||||
|
||||
# Move macros file insto proper place and replace the %%{name} macro, since it
|
||||
# Move macros file into proper place and replace the %%{name} macro, since it
|
||||
# would be wrongly evaluated during build of other packages.
|
||||
mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d
|
||||
install -m 644 %{SOURCE4} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ruby
|
||||
|
|
@ -884,8 +884,8 @@ make check TESTS="-v $DISABLE_TESTS"
|
|||
%{ruby_libdir}/tkextlib
|
||||
|
||||
%changelog
|
||||
* Mon Nov 10 2014 Vít Ondruch <vondruch@redhat.com> - 2.2.0-0.24.r48741
|
||||
- Upgrade to Ruby 2.2.0 (r48741).
|
||||
* Mon Nov 10 2014 Vít Ondruch <vondruch@redhat.com> - 2.2.0-0.1.r48879
|
||||
- Upgrade to Ruby 2.2.0 (r48879).
|
||||
- Explicitly list RubyGems directories to avoid accidentaly packaged content.
|
||||
- Split test-unit and power_assert gems into separate sub-packages.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue