|
|
|
@ -1,6 +1,6 @@
@@ -1,6 +1,6 @@
|
|
|
|
|
%global major_version 2 |
|
|
|
|
%global minor_version 6 |
|
|
|
|
%global teeny_version 4 |
|
|
|
|
%global teeny_version 5 |
|
|
|
|
%global major_minor_version %{major_version}.%{minor_version} |
|
|
|
|
|
|
|
|
|
%global ruby_version %{major_minor_version}.%{teeny_version} |
|
|
|
@ -21,7 +21,7 @@
@@ -21,7 +21,7 @@
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global release 123 |
|
|
|
|
%global release 124 |
|
|
|
|
%{!?release_string:%global release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}} |
|
|
|
|
|
|
|
|
|
# The RubyGems library has to stay out of Ruby directory tree, since the |
|
|
|
@ -61,13 +61,19 @@
@@ -61,13 +61,19 @@
|
|
|
|
|
|
|
|
|
|
%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/') |
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 19 |
|
|
|
|
%bcond_without rubypick |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%bcond_without cmake |
|
|
|
|
%bcond_without git |
|
|
|
|
%bcond_without gmp |
|
|
|
|
%bcond_without hostname |
|
|
|
|
%bcond_without systemtap |
|
|
|
|
%bcond_with hardening_test |
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} |
|
|
|
|
%bcond_without hardening_test |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
Summary: An interpreter of object-oriented scripting language |
|
|
|
|
Name: ruby |
|
|
|
@ -143,7 +149,7 @@ Patch12: rubygems-3.0.3-Avoid-rdoc-hook-when-its-failed-to-load-rdoc-library.pat
@@ -143,7 +149,7 @@ Patch12: rubygems-3.0.3-Avoid-rdoc-hook-when-its-failed-to-load-rdoc-library.pat
|
|
|
|
|
Patch22: ruby-2.6.0-config-support-include-directive.patch |
|
|
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release} |
|
|
|
|
Requires: rubypick |
|
|
|
|
#Suggests: rubypick |
|
|
|
|
Requires: ruby(rubygems) >= %{rubygems_version} |
|
|
|
|
Requires: rubygem(bigdecimal) >= %{bigdecimal_version} |
|
|
|
|
Requires: rubygem(did_you_mean) >= %{did_you_mean_version} |
|
|
|
@ -625,83 +631,70 @@ cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
@@ -625,83 +631,70 @@ cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
|
|
|
|
|
|
|
|
|
|
# Move gems root into common direcotry, out of Ruby directory structure. |
|
|
|
|
#mv %{buildroot}%{ruby_libdir}/gems %{buildroot}%{gem_dir} |
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gem/ |
|
|
|
|
mv %{buildroot}/$HOME/.gem/ruby/gems/* %{buildroot}%{gem_dir}/gem/ |
|
|
|
|
mv %{buildroot}/$HOME/.gem/ruby/cache/ %{buildroot}%{gem_dir} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Create folders for gem binary extensions. |
|
|
|
|
# TODO: These folders should go into rubygem-filesystem but how to achieve it, |
|
|
|
|
# since noarch package cannot provide arch dependent subpackages? |
|
|
|
|
# http://rpm.org/ticket/78 |
|
|
|
|
mkdir -p %{buildroot}%{_exec_prefix}/lib{,64}/gems/%{name} |
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Move bundled rubygems to %%gem_dir and %%gem_extdir_mri |
|
|
|
|
# make symlinks for io-console and bigdecimal, which are considered to be part of stdlib by other Gems |
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gem/irb-%{irb_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/irb* %{buildroot}%{gem_dir}/gem/irb-%{irb_version}/lib |
|
|
|
|
#mv %{buildroot}%{gem_dir}/specifications/default/irb-%{irb_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
mv %{buildroot}/$HOME/.gem/ruby/specifications/default/irb-%{irb_version}.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gems/irb-%{irb_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/irb* %{buildroot}%{gem_dir}/gems/irb-%{irb_version}/lib |
|
|
|
|
mv %{buildroot}%{gem_dir}/specifications/default/irb-%{irb_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
ln -s %{gem_dir}/gems/irb-%{irb_version}/lib/irb.rb %{buildroot}%{ruby_libdir}/irb.rb |
|
|
|
|
# TODO: This should be possible to replaced by simple directory symlink |
|
|
|
|
# after ~ F31 EOL (rhbz#1691039). |
|
|
|
|
mkdir -p %{buildroot}%{ruby_libdir}/irb |
|
|
|
|
pushd %{buildroot}%{gem_dir}/gem/irb-%{irb_version}/lib |
|
|
|
|
pushd %{buildroot}%{gem_dir}/gems/irb-%{irb_version}/lib |
|
|
|
|
find irb -type d -mindepth 1 -exec mkdir %{buildroot}%{ruby_libdir}/'{}' \; |
|
|
|
|
find irb -type f -exec ln -s %{gem_dir}/gem/irb-%{irb_version}/lib/'{}' %{buildroot}%{ruby_libdir}/'{}' \; |
|
|
|
|
find irb -type f -exec ln -s %{gem_dir}/gems/irb-%{irb_version}/lib/'{}' %{buildroot}%{ruby_libdir}/'{}' \; |
|
|
|
|
popd |
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gem/rdoc-%{rdoc_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/rdoc* %{buildroot}%{gem_dir}/gem/rdoc-%{rdoc_version}/lib |
|
|
|
|
#mv %{buildroot}%{gem_dir}/specifications/default/rdoc-%{rdoc_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
mv %{buildroot}/$HOME/.gem/ruby/specifications/default/rdoc-%{rdoc_version}.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gems/rdoc-%{rdoc_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/rdoc* %{buildroot}%{gem_dir}/gems/rdoc-%{rdoc_version}/lib |
|
|
|
|
mv %{buildroot}%{gem_dir}/specifications/default/rdoc-%{rdoc_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib |
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/gems/%{name}/bigdecimal-%{bigdecimal_version}/bigdecimal |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/bigdecimal %{buildroot}%{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libarchdir}/bigdecimal.so %{buildroot}%{_libdir}/gems/%{name}/bigdecimal-%{bigdecimal_version} |
|
|
|
|
mv %{buildroot}%{ruby_libarchdir}/bigdecimal/util.so %{buildroot}%{_libdir}/gems/%{name}/bigdecimal-%{bigdecimal_version}/bigdecimal |
|
|
|
|
#mv %{buildroot}%{gem_dir}/specifications/default/bigdecimal-%{bigdecimal_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
mv %{buildroot}/$HOME/.gem/ruby//specifications/default/bigdecimal-%{bigdecimal_version}.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
mv %{buildroot}%{gem_dir}/specifications/default/bigdecimal-%{bigdecimal_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
ln -s %{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib/bigdecimal %{buildroot}%{ruby_libdir}/bigdecimal |
|
|
|
|
ln -s %{_libdir}/gems/%{name}/bigdecimal-%{bigdecimal_version}/bigdecimal.so %{buildroot}%{ruby_libarchdir}/bigdecimal.so |
|
|
|
|
ln -s %{_libdir}/gems/%{name}/bigdecimal-%{bigdecimal_version}/bigdecimal/util.so %{buildroot}%{ruby_libarchdir}/bigdecimal/util.so |
|
|
|
|
|
|
|
|
|
# TODO: Put help files into proper location. |
|
|
|
|
# https://bugs.ruby-lang.org/issues/15359 |
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gem/bundler-%{bundler_version}/lib/ |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/bundler.rb %{buildroot}%{gem_dir}/gem/bundler-%{bundler_version}/lib/ |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/bundler %{buildroot}%{gem_dir}/gem/bundler-%{bundler_version}/lib/ |
|
|
|
|
#mv %{buildroot}%{gem_dir}/specifications/default/bundler-%{bundler_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
mv %{buildroot}/$HOME/.gem/ruby/specifications/default/bundler-%{bundler_version}.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gems/bundler-%{bundler_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/bundler.rb %{buildroot}%{gem_dir}/gems/bundler-%{bundler_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/bundler %{buildroot}%{gem_dir}/gems/bundler-%{bundler_version}/lib |
|
|
|
|
mv %{buildroot}%{gem_dir}/specifications/default/bundler-%{bundler_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gems/io-console-%{io_console_version}/lib |
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/gems/%{name}/io-console-%{io_console_version}/io |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/io %{buildroot}%{gem_dir}/gems/io-console-%{io_console_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libarchdir}/io/console.so %{buildroot}%{_libdir}/gems/%{name}/io-console-%{io_console_version}/io |
|
|
|
|
#mv %{buildroot}%{gem_dir}/specifications/default/io-console-%{io_console_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
mv %{buildroot}/$HOME/.gem/ruby/specifications/default/io-console-%{io_console_version}.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
mv %{buildroot}%{gem_dir}/specifications/default/io-console-%{io_console_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
ln -s %{gem_dir}/gems/io-console-%{io_console_version}/lib/io %{buildroot}%{ruby_libdir}/io |
|
|
|
|
ln -s %{_libdir}/gems/%{name}/io-console-%{io_console_version}/io/console.so %{buildroot}%{ruby_libarchdir}/io/console.so |
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gem/json-%{json_version}/lib |
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gems/json-%{json_version}/lib |
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/gems/%{name}/json-%{json_version} |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/json* %{buildroot}%{gem_dir}/gem/json-%{json_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/json* %{buildroot}%{gem_dir}/gems/json-%{json_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libarchdir}/json/ %{buildroot}%{_libdir}/gems/%{name}/json-%{json_version}/ |
|
|
|
|
#mv %{buildroot}%{gem_dir}/specifications/default/json-%{json_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
mv %{buildroot}/$HOME/.gem/ruby/specifications/default/json-%{json_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
ln -s %{gem_dir}/gem/json-%{json_version}/lib/json.rb %{buildroot}%{ruby_libdir}/json.rb |
|
|
|
|
ln -s %{gem_dir}/gem/json-%{json_version}/lib/json %{buildroot}%{ruby_libdir}/json |
|
|
|
|
mv %{buildroot}%{gem_dir}/specifications/default/json-%{json_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
ln -s %{gem_dir}/gems/json-%{json_version}/lib/json.rb %{buildroot}%{ruby_libdir}/json.rb |
|
|
|
|
ln -s %{gem_dir}/gems/json-%{json_version}/lib/json %{buildroot}%{ruby_libdir}/json |
|
|
|
|
ln -s %{_libdir}/gems/%{name}/json-%{json_version}/json/ %{buildroot}%{ruby_libarchdir}/json |
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}/gems/openssl-%{openssl_version}/lib |
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/gems/%{name}/openssl-%{openssl_version} |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/openssl* %{buildroot}%{gem_dir}/gems/openssl-%{openssl_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libarchdir}/openssl.so %{buildroot}%{_libdir}/gems/%{name}/openssl-%{openssl_version}/ |
|
|
|
|
#mv %{buildroot}%{gem_dir}/specifications/default/openssl-%{openssl_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
mv %{buildroot}/$HOME/.gem/ruby/specifications/default/openssl-%{openssl_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
mv %{buildroot}%{gem_dir}/specifications/default/openssl-%{openssl_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
# This used to be directory when OpenSSL was integral part of StdLib => Keep |
|
|
|
|
# it as directory and link everything in it to prevent directory => symlink |
|
|
|
|
# conversion RPM issues. |
|
|
|
@ -715,8 +708,7 @@ mkdir -p %{buildroot}%{gem_dir}/gems/psych-%{psych_version}/lib
@@ -715,8 +708,7 @@ mkdir -p %{buildroot}%{gem_dir}/gems/psych-%{psych_version}/lib
|
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/gems/%{name}/psych-%{psych_version} |
|
|
|
|
mv %{buildroot}%{ruby_libdir}/psych* %{buildroot}%{gem_dir}/gems/psych-%{psych_version}/lib |
|
|
|
|
mv %{buildroot}%{ruby_libarchdir}/psych.so %{buildroot}%{_libdir}/gems/%{name}/psych-%{psych_version}/ |
|
|
|
|
#mv %{buildroot}%{gem_dir}/specifications/default/psych-%{psych_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
mv %{buildroot}/$HOME/.gem/ruby/specifications/default/psych-%{psych_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
mv %{buildroot}%{gem_dir}/specifications/default/psych-%{psych_version}.gemspec %{buildroot}%{gem_dir}/specifications |
|
|
|
|
ln -s %{gem_dir}/gems/psych-%{psych_version}/lib/psych %{buildroot}%{ruby_libdir}/psych |
|
|
|
|
ln -s %{gem_dir}/gems/psych-%{psych_version}/lib/psych.rb %{buildroot}%{ruby_libdir}/psych.rb |
|
|
|
|
ln -s %{_libdir}/gems/%{name}/psych-%{psych_version}/psych.so %{buildroot}%{ruby_libarchdir}/psych.so |
|
|
|
@ -732,7 +724,7 @@ sed -i '/^end$/ i\
@@ -732,7 +724,7 @@ sed -i '/^end$/ i\
|
|
|
|
|
s.extensions = ["json/ext/parser.so", "json/ext/generator.so"]' %{buildroot}%{gem_dir}/specifications/json-%{json_version}.gemspec |
|
|
|
|
|
|
|
|
|
# Move man pages into proper location |
|
|
|
|
mv %{buildroot}%{gem_dir}/gem/rake-%{rake_version}/doc/rake.1 %{buildroot}%{_mandir}/man1 |
|
|
|
|
mv %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/doc/rake.1 %{buildroot}%{_mandir}/man1 |
|
|
|
|
|
|
|
|
|
%if %{with systemtap} |
|
|
|
|
# Install a tapset and fix up the path to the library. |
|
|
|
@ -755,44 +747,6 @@ echo 'doc/pty' >> .ruby-doc.ja
@@ -755,44 +747,6 @@ echo 'doc/pty' >> .ruby-doc.ja
|
|
|
|
|
sed -i 's/^/%doc /' .ruby-doc.* |
|
|
|
|
sed -i 's/^/%lang(ja) /' .ruby-doc.ja |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/cmath-1.0.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/csv-3.0.9.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/date-2.0.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/dbm-1.0.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/e2mmap-0.1.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/etc-1.0.1.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/fcntl-1.0.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/fiddle-1.0.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/fileutils-1.1.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/forwardable-1.2.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/gdbm-2.0.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/ipaddr-1.2.2.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/logger-1.3.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/matrix-0.1.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/mutex_m-0.1.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/ostruct-0.1.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/prime-0.1.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/rexml-3.1.9.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/rss-0.2.7.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/scanf-1.0.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/sdbm-1.0.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/shell-0.7.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/stringio-0.0.2.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/strscan-1.0.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/sync-0.5.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/thwait-0.1.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/tracer-0.1.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/webrick-1.4.2.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/default/zlib-1.0.0.gemspec %{buildroot}%{gem_dir}/specifications/default/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/did_you_mean-1.3.0.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/minitest-5.11.3.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/net-telnet-0.2.0.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/power_assert-1.1.3.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/rake-12.3.2.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/test-unit-3.2.9.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
mv %{buildroot}/home/basebuilder/.gem/ruby/specifications/xmlrpc-0.3.0.gemspec %{buildroot}%{gem_dir}/specifications/ |
|
|
|
|
|
|
|
|
|
# https://github.com/yuki24/did_you_mean/issues/122 |
|
|
|
|
rm -rf %{buildroot}%{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/tmp/ |
|
|
|
|
|
|
|
|
@ -802,7 +756,7 @@ rm -f %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/.gitignore
@@ -802,7 +756,7 @@ rm -f %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/.gitignore
|
|
|
|
|
%check |
|
|
|
|
%if 0%{?with_hardening_test} |
|
|
|
|
# Check Ruby hardening. |
|
|
|
|
checksec --file=libruby.so.%{ruby_version} | \ |
|
|
|
|
checksec -f libruby.so.%{ruby_version} | \ |
|
|
|
|
grep "Full RELRO.*Canary found.*NX enabled.*DSO.*No RPATH.*No RUNPATH.*Yes.*\d*.*\d*.*libruby.so.%{ruby_version}" |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
@ -1063,10 +1017,10 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
@@ -1063,10 +1017,10 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|
|
|
|
# Explicitly include only RubyGems directory strucure to avoid accidentally |
|
|
|
|
# packaged content. |
|
|
|
|
%dir %{gem_dir} |
|
|
|
|
#%dir %{gem_dir}/build_info |
|
|
|
|
%dir %{gem_dir}/build_info |
|
|
|
|
%dir %{gem_dir}/cache |
|
|
|
|
#%dir %{gem_dir}/doc |
|
|
|
|
#%dir %{gem_dir}/extensions |
|
|
|
|
%dir %{gem_dir}/doc |
|
|
|
|
%dir %{gem_dir}/extensions |
|
|
|
|
%dir %{gem_dir}/gems |
|
|
|
|
%dir %{gem_dir}/specifications |
|
|
|
|
%dir %{gem_dir}/specifications/default |
|
|
|
@ -1115,22 +1069,21 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
@@ -1115,22 +1069,21 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|
|
|
|
|
|
|
|
|
%files -n rubygem-rake |
|
|
|
|
%{_bindir}/rake |
|
|
|
|
%{gem_dir}/gem/rake-%{rake_version}/* |
|
|
|
|
%exclude %{gem_dir}/gem/rake-%{rake_version}/.gitignore |
|
|
|
|
%{gem_dir}/gems/rake-%{rake_version} |
|
|
|
|
%{gem_dir}/specifications/rake-%{rake_version}.gemspec |
|
|
|
|
%{_mandir}/man1/rake.1* |
|
|
|
|
|
|
|
|
|
%files -n rubygem-irb |
|
|
|
|
%{_bindir}/irb |
|
|
|
|
%{ruby_libdir}/irb* |
|
|
|
|
%{gem_dir}/gem/irb-%{irb_version}/* |
|
|
|
|
%{gem_dir}/gems/irb-%{irb_version} |
|
|
|
|
%{gem_dir}/specifications/irb-%{irb_version}.gemspec |
|
|
|
|
%{_mandir}/man1/irb.1* |
|
|
|
|
|
|
|
|
|
%files -n rubygem-rdoc |
|
|
|
|
%{_bindir}/rdoc |
|
|
|
|
%{_bindir}/ri |
|
|
|
|
%{gem_dir}/gem/rdoc-%{rdoc_version}/* |
|
|
|
|
%{gem_dir}/gems/rdoc-%{rdoc_version} |
|
|
|
|
%{gem_dir}/specifications/rdoc-%{rdoc_version}.gemspec |
|
|
|
|
%{_mandir}/man1/ri* |
|
|
|
|
|
|
|
|
@ -1148,8 +1101,8 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
@@ -1148,8 +1101,8 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|
|
|
|
%{gem_dir}/specifications/bigdecimal-%{bigdecimal_version}.gemspec |
|
|
|
|
|
|
|
|
|
%files -n rubygem-did_you_mean |
|
|
|
|
%{gem_dir}/gem/did_you_mean-%{did_you_mean_version} |
|
|
|
|
#%exclude %{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/.* |
|
|
|
|
%{gem_dir}/gems/did_you_mean-%{did_you_mean_version} |
|
|
|
|
%exclude %{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/.* |
|
|
|
|
%{gem_dir}/specifications/did_you_mean-%{did_you_mean_version}.gemspec |
|
|
|
|
|
|
|
|
|
%files -n rubygem-io-console |
|
|
|
@ -1163,12 +1116,12 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
@@ -1163,12 +1116,12 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|
|
|
|
%{ruby_libdir}/json* |
|
|
|
|
%{ruby_libarchdir}/json* |
|
|
|
|
%{_libdir}/gems/%{name}/json-%{json_version} |
|
|
|
|
%{gem_dir}/gem/json-%{json_version} |
|
|
|
|
%{gem_dir}/gems/json-%{json_version} |
|
|
|
|
%{gem_dir}/specifications/json-%{json_version}.gemspec |
|
|
|
|
|
|
|
|
|
%files -n rubygem-minitest |
|
|
|
|
%{gem_dir}/gem/minitest-%{minitest_version} |
|
|
|
|
#%exclude %{gem_dir}/gems/minitest-%{minitest_version}/.* |
|
|
|
|
%{gem_dir}/gems/minitest-%{minitest_version} |
|
|
|
|
%exclude %{gem_dir}/gems/minitest-%{minitest_version}/.* |
|
|
|
|
%{gem_dir}/specifications/minitest-%{minitest_version}.gemspec |
|
|
|
|
|
|
|
|
|
%files -n rubygem-openssl |
|
|
|
@ -1180,8 +1133,8 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
@@ -1180,8 +1133,8 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|
|
|
|
%{gem_dir}/specifications/openssl-%{openssl_version}.gemspec |
|
|
|
|
|
|
|
|
|
%files -n rubygem-power_assert |
|
|
|
|
%{gem_dir}/gem/power_assert-%{power_assert_version} |
|
|
|
|
#%exclude %{gem_dir}/gems/power_assert-%{power_assert_version}/.* |
|
|
|
|
%{gem_dir}/gems/power_assert-%{power_assert_version} |
|
|
|
|
%exclude %{gem_dir}/gems/power_assert-%{power_assert_version}/.* |
|
|
|
|
%{gem_dir}/specifications/power_assert-%{power_assert_version}.gemspec |
|
|
|
|
|
|
|
|
|
%files -n rubygem-psych |
|
|
|
@ -1193,44 +1146,37 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
@@ -1193,44 +1146,37 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|
|
|
|
%{gem_dir}/specifications/psych-%{psych_version}.gemspec |
|
|
|
|
|
|
|
|
|
%files -n rubygem-net-telnet |
|
|
|
|
%{gem_dir}/gem/net-telnet-%{net_telnet_version} |
|
|
|
|
#%exclude %{gem_dir}/gems/net-telnet-%{net_telnet_version}/.* |
|
|
|
|
%{gem_dir}/gems/net-telnet-%{net_telnet_version} |
|
|
|
|
%exclude %{gem_dir}/gems/net-telnet-%{net_telnet_version}/.* |
|
|
|
|
%{gem_dir}/specifications/net-telnet-%{net_telnet_version}.gemspec |
|
|
|
|
|
|
|
|
|
%files -n rubygem-test-unit |
|
|
|
|
%{gem_dir}/gem/test-unit-%{test_unit_version} |
|
|
|
|
%{gem_dir}/gems/test-unit-%{test_unit_version} |
|
|
|
|
%{gem_dir}/specifications/test-unit-%{test_unit_version}.gemspec |
|
|
|
|
|
|
|
|
|
%files -n rubygem-xmlrpc |
|
|
|
|
%license %{gem_dir}/gem/xmlrpc-%{xmlrpc_version}/LICENSE.txt |
|
|
|
|
%dir %{gem_dir}/gem/xmlrpc-%{xmlrpc_version} |
|
|
|
|
%exclude %{gem_dir}/gem/xmlrpc-%{xmlrpc_version}/.* |
|
|
|
|
%{gem_dir}/gem/xmlrpc-%{xmlrpc_version}/Gemfile |
|
|
|
|
%{gem_dir}/gem/xmlrpc-%{xmlrpc_version}/Rakefile |
|
|
|
|
%doc %{gem_dir}/gem/xmlrpc-%{xmlrpc_version}/README.md |
|
|
|
|
%{gem_dir}/gem/xmlrpc-%{xmlrpc_version}/bin |
|
|
|
|
%{gem_dir}/gem/xmlrpc-%{xmlrpc_version}/lib |
|
|
|
|
%{gem_dir}/gem/xmlrpc-%{xmlrpc_version}/xmlrpc.gemspec |
|
|
|
|
%license %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/LICENSE.txt |
|
|
|
|
%dir %{gem_dir}/gems/xmlrpc-%{xmlrpc_version} |
|
|
|
|
%exclude %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/.* |
|
|
|
|
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/Gemfile |
|
|
|
|
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/Rakefile |
|
|
|
|
%doc %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/README.md |
|
|
|
|
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/bin |
|
|
|
|
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/lib |
|
|
|
|
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/xmlrpc.gemspec |
|
|
|
|
%{gem_dir}/specifications/xmlrpc-%{xmlrpc_version}.gemspec |
|
|
|
|
|
|
|
|
|
%files -n rubygem-bundler |
|
|
|
|
%{_bindir}/bundle |
|
|
|
|
%{_bindir}/bundler |
|
|
|
|
%{gem_dir}/gem/bundler-%{bundler_version} |
|
|
|
|
%{gem_dir}/gems/bundler-%{bundler_version} |
|
|
|
|
%{gem_dir}/specifications/bundler-%{bundler_version}.gemspec |
|
|
|
|
%{_mandir}/man1/bundle*.1* |
|
|
|
|
%{_mandir}/man5/gemfile.5* |
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
|
* Fri Aug 30 2019 Pavel Valena <pvalena@redhat.com> - 2.6.4-123 |
|
|
|
|
- Update to Ruby 2.6.4. |
|
|
|
|
- Fix checksec 2.0+ compatibility. |
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.3-122 |
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
* Tue Jun 25 2019 Vít Ondruch <vondruch@redhat.com> - 2.6.3-121 |
|
|
|
|
- Properly support %%prerelease in %%gemspec_ macros. |
|
|
|
|
* Wed Oct 09 2019 Pavel Valena <pvalena@redhat.com> - 2.6.5-124 |
|
|
|
|
- Update to Ruby 2.6.5. |
|
|
|
|
|
|
|
|
|
* Thu Apr 25 2019 Pavel Valena <pvalena@redhat.com> - 2.6.3-120 |
|
|
|
|
- Update to Ruby 2.6.3. |
|
|
|
|