|
@@ -1,6 +1,8 @@
|
|
|
+%bcond_without test
|
|
|
+
|
|
|
%global major_version 2
|
|
|
-%global minor_version 4
|
|
|
-%global teeny_version 9
|
|
|
+%global minor_version 6
|
|
|
+%global teeny_version 5
|
|
|
|
|
|
%global major_minor_version %{major_version}.%{minor_version}
|
|
|
|
|
@@ -10,53 +12,47 @@
|
|
|
|
|
|
%global ruby_archive %{name}-%{ruby_version}
|
|
|
|
|
|
-%global ruby_libdir %{_datadir}/%{name}
|
|
|
-%global ruby_libarchdir %{_libdir}/%{name}
|
|
|
-
|
|
|
-# This is the local lib/arch and should not be used for packaging.
|
|
|
-%global ruby_sitedir site_ruby
|
|
|
-%global ruby_sitelibdir %{_prefix}/local/share/ruby/%{ruby_sitedir}
|
|
|
-%global ruby_sitearchdir %{_prefix}/local/%{_lib}/ruby/%{ruby_sitedir}
|
|
|
-
|
|
|
-# This is the general location for libs/archs compatible with all
|
|
|
-# or most of the Ruby versions
|
|
|
-%global ruby_vendordir vendor_ruby
|
|
|
-%global ruby_vendorlibdir %{_prefix}/share/ruby/%{ruby_vendordir}
|
|
|
-%global ruby_vendorarchdir %{_libdir}/ruby/%{ruby_vendordir}
|
|
|
-
|
|
|
-%global rubygems_version 2.6.14.4
|
|
|
+%global rubygems_version 3.0.3
|
|
|
|
|
|
# The RubyGems library has to stay out of Ruby directory tree, since the
|
|
|
# RubyGems should be share by all Ruby implementations.
|
|
|
%global rubygems_dir %{_datadir}/rubygems
|
|
|
|
|
|
# Specify custom RubyGems root.
|
|
|
-%global gem_dir %{_datadir}/gems
|
|
|
+#global gem_dir %{_datadir}/gems
|
|
|
%global gem_extdir %{_libdir}/gems
|
|
|
%global gem_extdirs %{_exec_prefix}/lib{,64}/gems
|
|
|
|
|
|
+%global bundler_version 1.17.2
|
|
|
+%global bundler_fileutils_version 1.1.0
|
|
|
+%global bundler_molinillo_version 0.6.6
|
|
|
+%global bundler_net_http_persistent_version 2.9.4
|
|
|
+%global bundler_thor_version 0.20.0
|
|
|
+
|
|
|
# TODO: The IRB has strange versioning. Keep the Ruby's versioning ATM.
|
|
|
# http://redmine.ruby-lang.org/issues/5313
|
|
|
%global irb_version %{ruby_version}
|
|
|
|
|
|
-%global rake_version 12.0.0
|
|
|
-%global rdoc_version 5.0.1
|
|
|
-%global bigdecimal_version 1.3.2
|
|
|
-%global io_console_version 0.4.6
|
|
|
-%global json_version 2.0.4
|
|
|
-%global minitest_version 5.10.1
|
|
|
-%global psych_version 2.2.2
|
|
|
-%global power_assert_version 0.4.1
|
|
|
-%global test_unit_version 3.2.3
|
|
|
-%global xmlrpc_version 0.2.1
|
|
|
+%global rake_version 12.3.2
|
|
|
+%global rdoc_version 6.1.2
|
|
|
+%global bigdecimal_version 1.4.1
|
|
|
+%global io_console_version 0.4.7
|
|
|
+%global json_version 2.1.0
|
|
|
+%global minitest_version 5.11.3
|
|
|
+%global psych_version 3.1.0
|
|
|
+%global power_assert_version 1.1.3
|
|
|
+%global test_unit_version 3.2.9
|
|
|
+%global xmlrpc_version 0.3.0
|
|
|
|
|
|
# Note:
|
|
|
# As seen on perl srpm, as this (ruby) srpm contains several sub-components,
|
|
|
# we cannot reset the release number to 1 even when the main (ruby) version
|
|
|
# is updated - because it may be that the versions of sub-components don't
|
|
|
# change.
|
|
|
-# rubyのmainバージョンが更新されても1には戻さずに必ず+1してください。
|
|
|
-%global ruby_rel 17
|
|
|
+#
|
|
|
+# 全てのサブパッケージのバージョンが上がる場合を除き、rubyのmainバージョンが
|
|
|
+# 更新されても1には戻さずに必ず+1してください。
|
|
|
+%global ruby_rel 1
|
|
|
|
|
|
%bcond_without emacsen
|
|
|
%define rbmode ruby-mode
|
|
@@ -77,12 +73,44 @@ Source0: https://cache.ruby-lang.org/pub/%{name}/%{major_minor_version}/%{ruby_a
|
|
|
Source1: operating_system.rb
|
|
|
Source3: abrt_prelude.rb
|
|
|
|
|
|
-Source6: %{rbmode_el}-install.sh
|
|
|
-Source7: %{rbmode_el}-remove.sh
|
|
|
-Source8: %{rbmode_el}-init.el
|
|
|
+Source4: macros.ruby
|
|
|
+Source5: macros.rubygems
|
|
|
+
|
|
|
+# RPM dependency generators.
|
|
|
+Source8: rubygems.attr
|
|
|
+Source9: rubygems.req
|
|
|
+Source10: rubygems.prov
|
|
|
+Source11: rubygems.con
|
|
|
|
|
|
# changelog of fedora package
|
|
|
-Source10: Changelog.fedora
|
|
|
+Source999: Changelog.fedora
|
|
|
+
|
|
|
+# Vine
|
|
|
+Source1000: %{rbmode_el}-install.sh
|
|
|
+Source1001: %{rbmode_el}-remove.sh
|
|
|
+Source1002: %{rbmode_el}-init.el
|
|
|
+
|
|
|
+# The load directive is supported since RPM 4.12, i.e. F21+. The build process
|
|
|
+# fails on older Fedoras.
|
|
|
+%{?load:%{SOURCE4}}
|
|
|
+%{?load:%{SOURCE5}}
|
|
|
+
|
|
|
+%global gem_extdir %{_libdir}/gems
|
|
|
+%global gem_extdirs %{_exec_prefix}/lib{,64}/gems
|
|
|
+
|
|
|
+#global ruby_libdir %{_datadir}/%{name}
|
|
|
+#global ruby_libarchdir %{_libdir}/%{name}
|
|
|
+
|
|
|
+# This is the local lib/arch and should not be used for packaging.
|
|
|
+#global ruby_sitedir site_ruby
|
|
|
+#global ruby_sitelibdir %{_prefix}/local/share/ruby/%{ruby_sitedir}
|
|
|
+#global ruby_sitearchdir %{_prefix}/local/%{_lib}/ruby/%{ruby_sitedir}
|
|
|
+
|
|
|
+# This is the general location for libs/archs compatible with all
|
|
|
+# or most of the Ruby versions
|
|
|
+#global ruby_vendordir vendor_ruby
|
|
|
+#global ruby_vendorlibdir %{_prefix}/share/ruby/%{ruby_vendordir}
|
|
|
+#global ruby_vendorarchdir %{_libdir}/ruby/%{ruby_vendordir}
|
|
|
|
|
|
### Patch[0-99] from fedora package
|
|
|
# Fix ruby_version abuse.
|
|
@@ -113,19 +141,19 @@ Patch7: ruby-2.2.3-Generate-preludes-using-miniruby.patch
|
|
|
# hardening features of glibc (rhbz#1361037).
|
|
|
# https://bugs.ruby-lang.org/issues/12666
|
|
|
Patch9: ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch
|
|
|
-# Fix: Command injection in lib/resolv.rb:lazy_initialize()
|
|
|
-# https://bugzilla.redhat.com/show_bug.cgi?id=1528226
|
|
|
-# https://github.com/ruby/ruby/commit/e7464561b5151501beb356fc750d5dd1a88014f7
|
|
|
-Patch10: ruby-2.4.3-Fix-Command-injection-in-lib-resolv-lazy_initialize.patch
|
|
|
-# Fix ruby-test_io.rb#test_select_leak
|
|
|
-# https://bugs.ruby-lang.org/issues/14929
|
|
|
-Patch11: ruby-2.5.2-ruby-test_io-test_select_leak.patch
|
|
|
|
|
|
+# `gem build ../foo.gemspec` changes directory, which does not play well with
|
|
|
+# gems unpacked by setup macro.
|
|
|
+# https://github.com/rubygems/rubygems/issues/2587
|
|
|
+Patch11: rubygems-3.0.3-Restore-gem-build-behavior-and-introdcue-the-C-flag-to-gem-build.patch
|
|
|
+# This allows to loosen the RDoc dependency again.
|
|
|
+# https://github.com/rubygems/rubygems/pull/2604
|
|
|
+Patch12: rubygems-3.0.3-Avoid-rdoc-hook-when-its-failed-to-load-rdoc-library.patch
|
|
|
+
|
|
|
+# Add support for .include directive used by OpenSSL config files.
|
|
|
+# https://github.com/ruby/openssl/pull/216
|
|
|
+Patch22: ruby-2.6.0-config-support-include-directive.patch
|
|
|
|
|
|
-# for OpenSSL-1.1.1
|
|
|
-Patch100: openssl111-1.patch
|
|
|
-Patch101: openssl111-2.patch
|
|
|
-Patch102: openssl111-3.patch
|
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -471,6 +499,26 @@ XMLRPC is a lightweight protocol that enables remote procedure calls
|
|
|
over HTTP.
|
|
|
|
|
|
|
|
|
+%package -n rubygem-bundler
|
|
|
+Summary: Library and utilities to manage a Ruby application's gem dependencies
|
|
|
+Version: %{bundler_version}
|
|
|
+License: MIT
|
|
|
+Requires: ruby(release)
|
|
|
+Requires: ruby(rubygems) >= %{rubygems_version}
|
|
|
+Requires: rubygem(io-console)
|
|
|
+Provides: rubygem(bundler) = %{version}-%{release}
|
|
|
+# https://github.com/bundler/bundler/issues/3647
|
|
|
+Provides: bundled(rubygem-fileutils) = %{bundler_fileutils_version}
|
|
|
+Provides: bundled(rubygem-molinillo) = %{bundler_molinillo_version}
|
|
|
+Provides: bundled(rubygem-net-http-persisntent) = %{bundler_net_http_persistent_version}
|
|
|
+Provides: bundled(rubygem-thor) = %{bundler_thor_version}
|
|
|
+BuildArch: noarch
|
|
|
+
|
|
|
+%description -n rubygem-bundler
|
|
|
+Bundler manages an application's dependencies through its entire life, across
|
|
|
+many machines, systematically and repeatably.
|
|
|
+
|
|
|
+
|
|
|
%if %{with emacsen}
|
|
|
%package mode
|
|
|
Summary: Emacs-lisp ruby-mode for the scripting language Ruby
|
|
@@ -500,12 +548,9 @@ Emacs上でRubyスクリプトを書くのに便利なモードです.
|
|
|
%patch6 -p1
|
|
|
%patch7 -p1
|
|
|
%patch9 -p1
|
|
|
-%patch10 -p1
|
|
|
%patch11 -p1
|
|
|
-
|
|
|
-%patch100 -p1
|
|
|
-%patch101 -p1
|
|
|
-%patch102 -p1
|
|
|
+%patch12 -p1
|
|
|
+%patch22 -p1
|
|
|
|
|
|
cp -a %{SOURCE3} .
|
|
|
|
|
@@ -518,9 +563,9 @@ autoconf
|
|
|
--with-archdir='%{ruby_libarchdir}' \
|
|
|
--with-archlibdir='%{_libdir}' \
|
|
|
--with-sitedir='%{ruby_sitelibdir}' \
|
|
|
- --with-sitearchdir='%{ruby_sitearchdir}/%{ruby_release}' \
|
|
|
+ --with-sitearchdir='%{ruby_sitearchdir}' \
|
|
|
--with-vendordir='%{ruby_vendorlibdir}' \
|
|
|
- --with-vendorarchdir='%{ruby_vendorarchdir}/%{ruby_release}' \
|
|
|
+ --with-vendorarchdir='%{ruby_vendorarchdir}' \
|
|
|
--with-rubyhdrdir='%{_includedir}' \
|
|
|
--with-rubyarchhdrdir='%{_includedir}' \
|
|
|
--with-sitearchhdrdir='%{_includedir}/$(arch)' \
|
|
@@ -541,6 +586,10 @@ make %{?_smp_mflags} COPY="cp -p" Q=
|
|
|
rm -rf %{buildroot}
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
+rmdir \
|
|
|
+ %{buildroot}%{ruby_sitelibdir}/%{ruby_release} \
|
|
|
+ %{buildroot}%{ruby_vendorlibdir}/%{ruby_release}
|
|
|
+
|
|
|
# Version is empty if --with-ruby-version is specified.
|
|
|
# http://bugs.ruby-lang.org/issues/7807
|
|
|
sed -i 's/Version: \${ruby_version}/Version: %{ruby_version}/' %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
|
@@ -550,44 +599,33 @@ sed -i 's/Version: \${ruby_version}/Version: %{ruby_version}/' %{buildroot}%{_li
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/%{rbmode}
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/emacsen-common/packages/install
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/emacsen-common/packages/remove
|
|
|
-cp misc/*.el %{SOURCE8} $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/%{rbmode}
|
|
|
+cp misc/*.el %{SOURCE1002} $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/%{rbmode}
|
|
|
|
|
|
-%_installemacsenscript %{rbmode} %{SOURCE6}
|
|
|
-%_removeemacsenscript %{rbmode} %{SOURCE7}
|
|
|
+%_installemacsenscript %{rbmode} %{SOURCE1000}
|
|
|
+%_removeemacsenscript %{rbmode} %{SOURCE1001}
|
|
|
|
|
|
%endif
|
|
|
|
|
|
-# Dump the macros into macro.ruby to use them to build other Ruby libraries.
|
|
|
-mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
|
|
-cat >> %{buildroot}%{_sysconfdir}/rpm/macros.ruby << \EOF
|
|
|
-%%ruby_libdir %%{_datadir}/%{name}
|
|
|
-%%ruby_libarchdir %%{_libdir}/%{name}
|
|
|
-
|
|
|
-# This is the local lib/arch and should not be used for packaging.
|
|
|
-%%ruby_sitedir site_ruby/%{ruby_release}
|
|
|
-%%ruby_sitelibdir %%{_prefix}/local/share/%{name}/%%{ruby_sitedir}
|
|
|
-%%ruby_sitearchdir %%{_prefix}/local/%%{_lib}/%{name}/%%{ruby_sitedir}
|
|
|
+# Version is empty if --with-ruby-version is specified.
|
|
|
+# http://bugs.ruby-lang.org/issues/7807
|
|
|
+sed -i 's/Version: \${ruby_version}/Version: %{ruby_version}/' %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
-# This is the general location for libs/archs compatible with all
|
|
|
-# or most of the Ruby versions
|
|
|
-%%ruby_vendordir vendor_ruby/%{ruby_release}
|
|
|
-%%ruby_vendorlibdir %%{_datadir}/%{name}/%%{ruby_vendordir}
|
|
|
-%%ruby_vendorarchdir %%{_libdir}/%{name}/%%{ruby_vendordir}
|
|
|
-EOF
|
|
|
-
|
|
|
-cat >> %{buildroot}%{_sysconfdir}/rpm/macros.rubygems << \EOF
|
|
|
-# The RubyGems root folder.
|
|
|
-%%gem_dir %{gem_dir}
|
|
|
-%%gem_archdir %{_libdir}/gems
|
|
|
-
|
|
|
-# Common gem locations and files.
|
|
|
-%%gem_instdir %%{gem_dir}/%{ruby_release}/gems/%%{gem_name}-%%{version}
|
|
|
-%%gem_extdir %%{_libdir}/gems/%{ruby_release}/exts/%%{gem_name}-%%{version}
|
|
|
-%%gem_libdir %%{gem_instdir}/lib
|
|
|
-%%gem_cache %%{gem_dir}/%{ruby_release}/cache/%%{gem_name}-%%{version}.gem
|
|
|
-%%gem_spec %%{gem_dir}/%{ruby_release}/specifications/%%{gem_name}-%%{version}.gemspec
|
|
|
-%%gem_docdir %%{gem_dir}/%{ruby_release}/doc/%%{gem_name}-%%{version}
|
|
|
-EOF
|
|
|
+# 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
|
|
|
+sed -i -e "s/%%{name}/%{name}/" -e "s/%%{ruby_release}/%{ruby_release}/" \
|
|
|
+ %{buildroot}%{_rpmconfigdir}/macros.d/macros.ruby
|
|
|
+install -m 644 %{SOURCE5} %{buildroot}%{_rpmconfigdir}/macros.d/macros.rubygems
|
|
|
+sed -i -e "s/%%{name}/%{name}/" -e "s/%%{ruby_release}/%{ruby_release}/" \
|
|
|
+ %{buildroot}%{_rpmconfigdir}/macros.d/macros.rubygems
|
|
|
+
|
|
|
+# Install dependency generators.
|
|
|
+mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs
|
|
|
+install -m 644 %{SOURCE8} %{buildroot}%{_rpmconfigdir}/fileattrs
|
|
|
+install -m 755 %{SOURCE9} %{buildroot}%{_rpmconfigdir}
|
|
|
+install -m 755 %{SOURCE10} %{buildroot}%{_rpmconfigdir}
|
|
|
+install -m 755 %{SOURCE11} %{buildroot}%{_rpmconfigdir}
|
|
|
|
|
|
# Install custom operating_system.rb.
|
|
|
mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
|
|
@@ -620,9 +658,27 @@ ln -s %{gem_dir}/%{ruby_release}/gems/bigdecimal-%{bigdecimal_version}/lib/bigde
|
|
|
# gem_extdir
|
|
|
mkdir -p %{buildroot}%{gem_extdir}/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}/lib
|
|
|
mv %{buildroot}%{ruby_libarchdir}/%{ruby_release}/bigdecimal.so %{buildroot}%{gem_extdir}/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}/lib
|
|
|
+mv %{buildroot}%{ruby_libarchdir}/%{ruby_release}/bigdecimal %{buildroot}%{gem_extdir}/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}/
|
|
|
ln -s %{gem_extdir}/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}/lib/bigdecimal.so %{buildroot}%{ruby_libarchdir}/%{ruby_release}/bigdecimal.so
|
|
|
+ln -s %{gem_extdir}/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}/bigdecimal %{buildroot}%{ruby_libarchdir}/%{ruby_release}/bigdecimal
|
|
|
mv %{buildroot}%{gem_dir}/%{ruby_release}/specifications/default/bigdecimal-%{bigdecimal_version}.gemspec %{buildroot}%{gem_dir}/%{ruby_release}/specifications
|
|
|
|
|
|
+# bundler
|
|
|
+# TODO: Put help files into proper location.
|
|
|
+# https://bugs.ruby-lang.org/issues/15359
|
|
|
+# gem_dir
|
|
|
+mkdir -p %{buildroot}%{gem_dir}/%{ruby_release}/gems/bundler-%{bundler_version}/lib
|
|
|
+mv %{buildroot}%{ruby_libdir}/%{ruby_release}/bundler.rb \
|
|
|
+ %{buildroot}%{gem_dir}/%{ruby_release}/gems/bundler-%{bundler_version}/lib
|
|
|
+ln -s %{gem_dir}/%{ruby_release}/gems/bundler-%{bundler_version}/lib/bundler.rb \
|
|
|
+ %{buildroot}%{ruby_libdir}/%{ruby_release}/bundler.rb
|
|
|
+mv %{buildroot}%{ruby_libdir}/%{ruby_release}/bundler \
|
|
|
+ %{buildroot}%{gem_dir}/%{ruby_release}/gems/bundler-%{bundler_version}/lib
|
|
|
+ln -s %{gem_dir}/%{ruby_release}/gems/bundler-%{bundler_version}/lib/bundler \
|
|
|
+ %{buildroot}%{ruby_libdir}/%{ruby_release}/bundler
|
|
|
+mv %{buildroot}%{gem_dir}/%{ruby_release}/specifications/default/bundler-%{bundler_version}.gemspec \
|
|
|
+ %{buildroot}%{gem_dir}/%{ruby_release}/specifications
|
|
|
+
|
|
|
## io_console
|
|
|
# gem_dir
|
|
|
mkdir -p %{buildroot}%{gem_dir}/%{ruby_release}/gems/io-console-%{io_console_version}/lib
|
|
@@ -677,6 +733,7 @@ sed -i '/^end$/ i\
|
|
|
sed -i '/^end$/ i\
|
|
|
s.require_paths = ["lib"]' %{buildroot}%{gem_dir}/%{ruby_release}/specifications/minitest-%{minitest_version}.gemspec
|
|
|
|
|
|
+%if %{with test}
|
|
|
%check
|
|
|
DISABLE_TESTS=""
|
|
|
|
|
@@ -700,6 +757,7 @@ touch abrt.rb
|
|
|
# https://bugs.ruby-lang.org/issues/9154
|
|
|
OPENSSL_ENABLE_MD5_VERIFY=1 make check TESTS="-v $DISABLE_TESTS"
|
|
|
%endif
|
|
|
+%endif
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
@@ -745,7 +803,7 @@ fi
|
|
|
%doc README.EXT
|
|
|
%lang(ja) %doc README.EXT.ja
|
|
|
|
|
|
-%config(noreplace) %{_sysconfdir}/rpm/macros.ruby
|
|
|
+%{_rpmconfigdir}/macros.d/macros.ruby
|
|
|
|
|
|
%{_includedir}/*
|
|
|
%{_libdir}/libruby.so
|
|
@@ -772,9 +830,12 @@ fi
|
|
|
%{ruby_libdir}/%{ruby_release}/*.rb
|
|
|
%exclude %{ruby_libdir}/%{ruby_release}/irb.rb
|
|
|
%{ruby_libdir}/%{ruby_release}/cgi
|
|
|
+%{ruby_libdir}/%{ruby_release}/csv
|
|
|
%{ruby_libdir}/%{ruby_release}/digest
|
|
|
%{ruby_libdir}/%{ruby_release}/drb
|
|
|
+%{ruby_libdir}/%{ruby_release}/e2mmap
|
|
|
%{ruby_libdir}/%{ruby_release}/fiddle
|
|
|
+%{ruby_libdir}/%{ruby_release}/fileutils
|
|
|
%{ruby_libdir}/%{ruby_release}/forwardable
|
|
|
%exclude %{ruby_libdir}/%{ruby_release}/irb
|
|
|
%{ruby_libdir}/%{ruby_release}/matrix
|
|
@@ -783,13 +844,14 @@ fi
|
|
|
%{ruby_libdir}/%{ruby_release}/optparse
|
|
|
%{ruby_libdir}/%{ruby_release}/psych
|
|
|
%{ruby_libdir}/%{ruby_release}/racc
|
|
|
-%{ruby_libdir}/%{ruby_release}/rbconfig
|
|
|
%{ruby_libdir}/%{ruby_release}/rexml
|
|
|
%{ruby_libdir}/%{ruby_release}/rinda
|
|
|
%{ruby_libdir}/%{ruby_release}/ripper
|
|
|
%{ruby_libdir}/%{ruby_release}/rss
|
|
|
%{ruby_libdir}/%{ruby_release}/shell
|
|
|
%{ruby_libdir}/%{ruby_release}/syslog
|
|
|
+%{ruby_libdir}/%{ruby_release}/thwait
|
|
|
+%{ruby_libdir}/%{ruby_release}/tracer
|
|
|
%{ruby_libdir}/%{ruby_release}/unicode_normalize
|
|
|
%{ruby_libdir}/%{ruby_release}/uri
|
|
|
%{ruby_libdir}/%{ruby_release}/webrick
|
|
@@ -881,9 +943,6 @@ fi
|
|
|
%dir %{ruby_libarchdir}/%{ruby_release}/io
|
|
|
%{ruby_libarchdir}/%{ruby_release}/io/nonblock.so
|
|
|
%{ruby_libarchdir}/%{ruby_release}/io/wait.so
|
|
|
-%dir %{ruby_libarchdir}/%{ruby_release}/mathn
|
|
|
-%{ruby_libarchdir}/%{ruby_release}/mathn/complex.so
|
|
|
-%{ruby_libarchdir}/%{ruby_release}/mathn/rational.so
|
|
|
%{ruby_libarchdir}/%{ruby_release}/nkf.so
|
|
|
%{ruby_libarchdir}/%{ruby_release}/objspace.so
|
|
|
%{ruby_libarchdir}/%{ruby_release}/openssl.so
|
|
@@ -893,6 +952,7 @@ fi
|
|
|
%dir %{ruby_libarchdir}/%{ruby_release}/racc
|
|
|
%{ruby_libarchdir}/%{ruby_release}/racc/cparse.so
|
|
|
%{ruby_libarchdir}/%{ruby_release}/rbconfig.rb
|
|
|
+%dir %{ruby_libarchdir}/%{ruby_release}/rbconfig
|
|
|
%{ruby_libarchdir}/%{ruby_release}/rbconfig/sizeof.so
|
|
|
%{ruby_libarchdir}/%{ruby_release}/readline.so
|
|
|
%{ruby_libarchdir}/%{ruby_release}/ripper.so
|
|
@@ -910,12 +970,14 @@ fi
|
|
|
%exclude %{gem_dir}/%{ruby_release}/gems/*
|
|
|
%{_exec_prefix}/lib*/gems
|
|
|
%exclude %{_exec_prefix}/lib*/gems/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}
|
|
|
+%exclude %{_exec_prefix}/lib*/gems/%{ruby_release}/exts/bundler-%{bundler_version}
|
|
|
%exclude %{_exec_prefix}/lib*/gems/%{ruby_release}/exts/io-console-%{io_console_version}
|
|
|
%exclude %{_exec_prefix}/lib*/gems/%{ruby_release}/exts/json-%{json_version}
|
|
|
%exclude %{_exec_prefix}/lib*/gems/%{ruby_release}/exts/psych-%{psych_version}
|
|
|
%exclude %{gem_dir}/%{ruby_release}/gems/rake-%{rake_version}
|
|
|
%exclude %{gem_dir}/%{ruby_release}/gems/rdoc-%{rdoc_version}
|
|
|
%exclude %{gem_dir}/%{ruby_release}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
|
|
|
+%exclude %{gem_dir}/%{ruby_release}/specifications/bundler-%{bundler_version}.gemspec
|
|
|
%exclude %{gem_dir}/%{ruby_release}/specifications/io-console-%{io_console_version}.gemspec
|
|
|
%exclude %{gem_dir}/%{ruby_release}/specifications/json-%{json_version}.gemspec
|
|
|
%exclude %{gem_dir}/%{ruby_release}/specifications/minitest-%{minitest_version}.gemspec
|
|
@@ -924,7 +986,11 @@ fi
|
|
|
%exclude %{gem_dir}/%{ruby_release}/specifications/psych-%{psych_version}.gemspec
|
|
|
|
|
|
%files rubygems-devel
|
|
|
-%config(noreplace) %{_sysconfdir}/rpm/macros.rubygems
|
|
|
+%{_rpmconfigdir}/macros.d/macros.rubygems
|
|
|
+%{_rpmconfigdir}/fileattrs/rubygems.attr
|
|
|
+%{_rpmconfigdir}/rubygems.req
|
|
|
+%{_rpmconfigdir}/rubygems.prov
|
|
|
+%{_rpmconfigdir}/rubygems.con
|
|
|
|
|
|
%files -n rubygem-rake
|
|
|
%{_bindir}/rake
|
|
@@ -956,6 +1022,7 @@ fi
|
|
|
%files -n rubygem-bigdecimal
|
|
|
%{ruby_libdir}/%{ruby_release}/bigdecimal
|
|
|
%{ruby_libarchdir}/%{ruby_release}/bigdecimal.so
|
|
|
+%{ruby_libarchdir}/%{ruby_release}/bigdecimal
|
|
|
%{gem_extdir}/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}
|
|
|
%{gem_dir}/%{ruby_release}/gems/bigdecimal-%{bigdecimal_version}
|
|
|
%{gem_dir}/%{ruby_release}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
|
|
@@ -1000,6 +1067,16 @@ fi
|
|
|
%{gem_dir}/%{ruby_release}/gems/xmlrpc-%{xmlrpc_version}
|
|
|
%{gem_dir}/%{ruby_release}/specifications/xmlrpc-%{xmlrpc_version}.gemspec
|
|
|
|
|
|
+%files -n rubygem-bundler
|
|
|
+%{_bindir}/bundle
|
|
|
+%{_bindir}/bundler
|
|
|
+%{gem_dir}/%{ruby_release}/gems/bundler-%{bundler_version}
|
|
|
+%{gem_dir}/%{ruby_release}/specifications/bundler-%{bundler_version}.gemspec
|
|
|
+%{ruby_libdir}/%{ruby_release}/bundler.rb
|
|
|
+%{ruby_libdir}/%{ruby_release}/bundler
|
|
|
+%{_mandir}/man1/bundle*.1*
|
|
|
+%{_mandir}/man5/gemfile.5*
|
|
|
+
|
|
|
%if %{with emacsen}
|
|
|
%files mode
|
|
|
%defattr(-, root, root)
|
|
@@ -1009,7 +1086,13 @@ fi
|
|
|
%{_prefix}/lib/emacsen-common/packages/remove/*
|
|
|
%endif
|
|
|
|
|
|
+
|
|
|
%changelog
|
|
|
+* Mon Mar 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.5-1
|
|
|
+- updated to 2.6.5.
|
|
|
+- dropped Patch10-11 and 100-102.
|
|
|
+- imported Patch11-12 and 22 from rawhide.
|
|
|
+
|
|
|
* Mon Mar 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.9-17
|
|
|
- updated to 2.4.9.
|
|
|
|