|
@@ -1,10 +1,14 @@
|
|
|
-%bcond_without test
|
|
|
%bcond_without json
|
|
|
%bcond_without emacsen
|
|
|
+%ifarch x86_64
|
|
|
+%bcond_without test
|
|
|
+%else
|
|
|
+%bcond_with test
|
|
|
+%endif
|
|
|
|
|
|
%global major_version 3
|
|
|
-%global minor_version 0
|
|
|
-%global teeny_version 3
|
|
|
+%global minor_version 3
|
|
|
+%global teeny_version 4
|
|
|
|
|
|
# Note:
|
|
|
# As seen on perl srpm, as this (ruby) srpm contains several sub-components,
|
|
@@ -14,7 +18,7 @@
|
|
|
#
|
|
|
# 全てのサブパッケージのバージョンが上がる場合を除き、rubyのmainバージョンが
|
|
|
# 更新されても1には戻さずに必ず+1してください。
|
|
|
-%global ruby_rel 2
|
|
|
+%global ruby_rel 3
|
|
|
|
|
|
%global major_minor_version %{major_version}.%{minor_version}
|
|
|
|
|
@@ -28,49 +32,51 @@
|
|
|
%global rubygems_dir %{_datadir}/rubygems
|
|
|
|
|
|
# lib/rubygems.rb
|
|
|
-%global rubygems_version 3.2.32
|
|
|
+%global rubygems_version 3.5.11
|
|
|
# lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
|
|
|
-%global rubygems_molinillo_version 0.7.0
|
|
|
+%global rubygems_molinillo_version 0.8.0
|
|
|
|
|
|
# lib/bundler/version.rb
|
|
|
-%global bundler_version 2.2.32
|
|
|
+%global bundler_version 2.5.11
|
|
|
# lib/bundler/vendor/fileutils/lib/fileutils.rb
|
|
|
-%global bundler_fileutils_version 1.4.1
|
|
|
+%global bundler_fileutils_version 1.7.2
|
|
|
# lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb
|
|
|
-%global bundler_molinillo_version 0.7.0
|
|
|
+%global bundler_molinillo_version %{rubygems_molinillo_version}
|
|
|
# lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
|
|
|
-%global bundler_net_http_persistent_version 4.0.0
|
|
|
+%global bundler_net_http_persistent_version 4.0.2
|
|
|
# lib/bundler/vendor/thor/lib/thor/version.rb
|
|
|
-%global bundler_thor_version 1.1.0
|
|
|
+%global bundler_thor_version 1.3.0
|
|
|
# lib/bundler/vendor/tmpdir/lib/tmpdir.rb
|
|
|
-%global bundler_tmpdir_version 0.1.0
|
|
|
+%global bundler_tmpdir_version 0.2.0
|
|
|
# lib/bundler/vendor/uri/lib/uri/version.rb
|
|
|
-%global bundler_uri_version 0.10.0
|
|
|
+%global bundler_uri_version 0.13.0
|
|
|
# lib/rdoc/version.rb
|
|
|
-%global rdoc_version 6.3.3
|
|
|
+%global rdoc_version 6.6.3.1
|
|
|
|
|
|
# TODO: The IRB has strange versioning. Keep the Ruby's versioning ATM.
|
|
|
# http://redmine.ruby-lang.org/issues/5313
|
|
|
# lib/irb/version.rb 1.3.5
|
|
|
-%global irb_version 1.3.5
|
|
|
+%global irb_version 1.13.1
|
|
|
|
|
|
# ext/bigdecimal/bigdecimal.gemspec
|
|
|
-%global bigdecimal_version 3.0.0
|
|
|
+%global bigdecimal_version 3.1.5
|
|
|
+%global debug_version 1.9.1
|
|
|
# ext/io/console/io-console.gemspec
|
|
|
-%global io_console_version 0.5.7
|
|
|
+%global io_console_version 0.7.1
|
|
|
# ext/json/VERSION
|
|
|
-%global json_version 2.5.1
|
|
|
+%global json_version 2.7.1
|
|
|
# ext/psych/lib/psych/versions.rb
|
|
|
-%global psych_version 3.3.2
|
|
|
+%global psych_version 5.1.2
|
|
|
# gems/bundled_gems
|
|
|
-%global minitest_version 5.14.2
|
|
|
-%global power_assert_version 1.2.0
|
|
|
-%global rake_version 13.0.3
|
|
|
-%global rbs_version 1.4.0
|
|
|
-%global test_unit_version 3.3.7
|
|
|
-%global rexml_version 3.2.5
|
|
|
-%global rss_version 0.2.9
|
|
|
-%global typeprof_version 0.15.2
|
|
|
+%global minitest_version 5.20.0
|
|
|
+%global power_assert_version 2.0.3
|
|
|
+%global racc_version 1.7.3
|
|
|
+%global rake_version 13.1.0
|
|
|
+%global rbs_version 3.4.0
|
|
|
+%global test_unit_version 3.6.1
|
|
|
+%global rexml_version 3.2.8
|
|
|
+%global rss_version 0.3.0
|
|
|
+%global typeprof_version 0.21.9
|
|
|
|
|
|
%define rbmode ruby-mode
|
|
|
%define rbmode_el ruby-mode
|
|
@@ -116,7 +122,6 @@ Source1002: %{rbmode_el}-init.el
|
|
|
%{?load:%{SOURCE4}}
|
|
|
%{?load:%{SOURCE5}}
|
|
|
|
|
|
-### Patch[0-99] from fedora package
|
|
|
# Fix ruby_version abuse.
|
|
|
# https://bugs.ruby-lang.org/issues/11002
|
|
|
Patch0: ruby-2.3.0-ruby_version.patch
|
|
@@ -132,8 +137,6 @@ Patch3: ruby-2.1.0-always-use-i386.patch
|
|
|
# Allows to install RubyGems into custom directory, outside of Ruby's tree.
|
|
|
# http://bugs.ruby-lang.org/issues/5617
|
|
|
Patch4: ruby-2.1.0-custom-rubygems-location.patch
|
|
|
-# Make mkmf verbose by default
|
|
|
-Patch5: ruby-1.9.3-mkmf-verbose.patch
|
|
|
# The ABRT hook used to be initialized by preludes via following patches:
|
|
|
# https://bugs.ruby-lang.org/issues/8566
|
|
|
# https://bugs.ruby-lang.org/issues/15306
|
|
@@ -143,93 +146,15 @@ Patch5: ruby-1.9.3-mkmf-verbose.patch
|
|
|
# https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/LH6L6YJOYQT4Y5ZNOO4SLIPTUWZ5V45Q/
|
|
|
# For now, load the ABRT hook via this simple patch:
|
|
|
Patch6: ruby-2.7.0-Initialize-ABRT-hook.patch
|
|
|
-# Workaround "an invalid stdio handle" error on PPC, due to recently introduced
|
|
|
-# 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 DWARF5 support.
|
|
|
-# https://bugzilla.redhat.com/show_bug.cgi?id=1920533
|
|
|
-# https://bugs.ruby-lang.org/issues/17585
|
|
|
-Patch15: ruby-dwarf5-avoid_crash-r1.patch
|
|
|
-# Fix segfaults with enabled LTO.
|
|
|
-# https://bugs.ruby-lang.org/issues/18062
|
|
|
-# https://github.com/ruby/ruby/pull/4716
|
|
|
-Patch16: ruby-3.1.0-Get-rid-of-type-punning-pointer-casts.patch
|
|
|
-# DWARF5/LTO fixes for SIGSEV handler.
|
|
|
-# https://bugs.ruby-lang.org/issues/17052
|
|
|
-# https://github.com/ruby/ruby/commit/72317b333b85eed483ad00bcd4f40944019a7c13
|
|
|
-Patch17: ruby-3.1.0-Ignore-DW_FORM_ref_addr.patch
|
|
|
-# https://bugs.ruby-lang.org/issues/17052#note-9
|
|
|
-# https://bugs.ruby-lang.org/attachments/download/8974/ruby-addr2line-DW_FORM_ref_addr.patch
|
|
|
-# https://github.com/ruby/ruby/commit/a9977ba2f9863e3fb1b2346589ebbca67d80536c
|
|
|
-Patch18: ruby-3.1.0-addr2line-DW_FORM_ref_addr.patch
|
|
|
-# Avoid possible timeout errors in TestBugReporter#test_bug_reporter_add.
|
|
|
-# https://bugs.ruby-lang.org/issues/16492
|
|
|
-Patch19: ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch
|
|
|
-# Add AC_PROG_CC to make C++ compiler dependency optional on autoconf >= 2.70.
|
|
|
-# https://github.com/ruby/ruby/commit/912a8dcfc5369d840dcd6bf0f88ee0bac7d902d6
|
|
|
-Patch20: ruby-3.1.0-autoconf-2.70-add-ac-prog-cc.patch
|
|
|
-# Allow to exclude test with fully qualified name.
|
|
|
-# https://bugs.ruby-lang.org/issues/16936
|
|
|
-# https://github.com/ruby/ruby/pull/5026
|
|
|
-Patch21: ruby-3.1.0-Properly-exclude-test-cases.patch
|
|
|
-
|
|
|
-# OpenSSL 3.0 compatibility patches
|
|
|
-
|
|
|
-# Fix test broken by wrongly formatted distinguished name submitted to
|
|
|
-# `OpenSSL::X509::Name.parse`.
|
|
|
-# https://github.com/ruby/openssl/issues/470
|
|
|
-# https://github.com/rubygems/rubygems/pull/5030
|
|
|
-Patch31: rubygems-3.2.30-Provide-distinguished-name-which-will-be-correctly-p.patch
|
|
|
-
|
|
|
-# Refactor PEM/DER serialization code.
|
|
|
-# https://github.com/ruby/openssl/pull/328
|
|
|
-Patch40: ruby-3.1.0-Refactor-PEM-DER-serialization-code.patch
|
|
|
-# Implement more 'generic' operations using the EVP API.
|
|
|
-# https://github.com/ruby/openssl/pull/329
|
|
|
-Patch41: ruby-3.1.0-Add-more-support-for-generic-pkey-types.patch
|
|
|
-# Allow setting algorithm-specific options in #sign and #verify.
|
|
|
-# https://github.com/ruby/openssl/pull/374
|
|
|
-Patch42: ruby-3.1.0-Allow-setting-algorithm-specific-options-in-sign-and-verify.patch
|
|
|
-# Use high level EVP interface to generate parameters and keys.
|
|
|
-# https://github.com/ruby/openssl/pull/397
|
|
|
-Patch43: ruby-3.1.0-Use-high-level-EVP-interface-to-generate-parameters-and-keys.patch
|
|
|
-# Use EVP API in more places.
|
|
|
-# https://github.com/ruby/openssl/pull/436
|
|
|
-Patch44: ruby-3.1.0-Use-EVP-API-in-more-places.patch
|
|
|
-# Implement PKey#{encrypt,decrypt,sign_raw,verify_{raw,verify_recover}}.
|
|
|
-# https://github.com/ruby/openssl/pull/382
|
|
|
-Patch45: ruby-3.1.0-Implement-PKey-encrypt-decrypt-sign_raw-verify_raw-and-verify_recover.patch
|
|
|
-# Fix `OpenSSL::TestSSL#test_dup` test failure.
|
|
|
-# https://github.com/ruby/openssl/commit/7b66eaa2dbabb6570dbbbdfac24c4dcdcc6793d7
|
|
|
-Patch46: ruby-3.1.0-test-openssl-utils-remove-dup_public-helper-method.patch
|
|
|
-# Fix `OpenSSL::TestDigest#test_digest_constants` test case.
|
|
|
-# https://github.com/ruby/openssl/commit/a3e59f4c2e200c76ef1d93945ff8737a05715e17
|
|
|
-Patch47: ruby-3.1.0-test-openssl-test_digest-do-not-test-constants-for-l.patch
|
|
|
-# Fix `OpenSSL::TestSSL#test_connect_certificate_verify_failed_exception_message`
|
|
|
-# test case.
|
|
|
-# https://github.com/ruby/openssl/commit/b5a0a198505452c7457b192da2e5cd5dda04f23d
|
|
|
-Patch48: ruby-3.1.0-test-openssl-test_ssl-relax-regex-to-match-OpenSSL-s.patch
|
|
|
-# Fix `OpenSSL::TestPKCS12#test_{new_with_no_keys,new_with_one_key_and_one_cert}`
|
|
|
-# test failures.
|
|
|
-# https://github.com/ruby/openssl/commit/998406d18f2acf73090e9fd9d92a7b4227ac593b
|
|
|
-Patch49: ruby-3.1.0-test-openssl-test_pkcs12-fix-test-failures-with-Open.patch
|
|
|
-# Fix `OpenSSL::TestPKey#test_s_generate_key` test case.
|
|
|
-# https://github.com/ruby/openssl/commit/c732387ee5aaa8c5a9717e8b3ffebb3d7430e99a
|
|
|
-Patch50: ruby-3.1.0-test-openssl-test_pkey-use-EC-keys-for-PKey.generate.patch
|
|
|
-# Miscellaneous changes for OpenSSL 3.0 support.
|
|
|
-# https://github.com/ruby/openssl/pull/468
|
|
|
-Patch51: ruby-3.1.0-Miscellaneous-changes-for-OpenSSL-3.0-support.patch
|
|
|
-# Support OpenSSL 3.0.
|
|
|
-# https://github.com/ruby/openssl/pull/399
|
|
|
-Patch52: ruby-3.1.0-Support-OpenSSL-3.0.patch
|
|
|
-# Fix `TestPumaControlCli#test_control_ssl` testcase in Puma.
|
|
|
-# https://github.com/ruby/openssl/pull/399#issuecomment-966239736
|
|
|
-Patch53: ruby-3.1.0-SSL_read-EOF-handling.patch
|
|
|
-
|
|
|
-# to revert "ext/openssl/extconf.rb: require OpenSSL version >= 1.0.1, < 3"
|
|
|
-# https://github.com/ruby/openssl/commit/202ff1372a40a8adf9aac74bfe8a39141b0c57e5
|
|
|
-Patch1000: https://github.com/ruby/openssl/commit/202ff1372a40a8adf9aac74bfe8a39141b0c57e5.patch
|
|
|
+# Disable syntax_suggest test suite, which tries to download its dependencies.
|
|
|
+# https://bugs.ruby-lang.org/issues/19297
|
|
|
+Patch9: ruby-3.3.0-Disable-syntax-suggest-test-case.patch
|
|
|
+# Armv8.3+ capable CPUs might segfault with incorrect compilation options.
|
|
|
+# See related upstream report: https://bugs.ruby-lang.org/issues/20085
|
|
|
+# https://bugs.ruby-lang.org/issues/20154
|
|
|
+# Make sure hardeding flags are correctly applied.
|
|
|
+# https://bugs.ruby-lang.org/issues/20520
|
|
|
+Patch12: ruby-3.4.0-Extract-hardening-CFLAGS-to-a-special-hardenflags-variable.patch
|
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -255,7 +180,7 @@ BuildRequires: libyaml-devel
|
|
|
BuildRequires: ncurses-devel
|
|
|
BuildRequires: openssl-devel
|
|
|
BuildRequires: readline-devel
|
|
|
-BuildRequires: zlib-devel
|
|
|
+BuildRequires: pkgconfig(zlib)
|
|
|
# Needed to pass test_set_program_name(TestRubyOptions)
|
|
|
BuildRequires: procps
|
|
|
|
|
@@ -581,6 +506,43 @@ Bundler manages an application's dependencies through its entire life, across
|
|
|
many machines, systematically and repeatably.
|
|
|
|
|
|
|
|
|
+%package -n rubygem-racc
|
|
|
+Version: %{racc_version}
|
|
|
+Summary: Racc is a LALR(1) parser generator
|
|
|
+Group: programming
|
|
|
+License: Ruby OR BSD-2-Clause
|
|
|
+URL: https://github.com/ruby/racc
|
|
|
+Provides: bundled(rubygem-racc) = %{racc_version}
|
|
|
+
|
|
|
+%description -n rubygem-racc
|
|
|
+Racc is a LALR(1) parser generator.
|
|
|
+It is written in Ruby itself, and generates Ruby program.
|
|
|
+
|
|
|
+
|
|
|
+%package -n rubygem-rbs
|
|
|
+Summary: Type signature for Ruby
|
|
|
+Version: %{rbs_version}
|
|
|
+Group: programming
|
|
|
+License: Ruby OR BSD-2-Clause
|
|
|
+Provides: bundled(rubygem-rbs) = %{rbs_version}
|
|
|
+
|
|
|
+%description -n rubygem-rbs
|
|
|
+RBS is the language for type signatures for Ruby and standard library
|
|
|
+definitions.
|
|
|
+
|
|
|
+
|
|
|
+%package -n rubygem-debug
|
|
|
+Summary: Debugging functionality for Ruby
|
|
|
+Version: %{debug_version}
|
|
|
+Group: programming
|
|
|
+License: MIT AND (Ruby OR BSD-2-Clause)
|
|
|
+Provides: bundled(rubygem-debug) = %{debug_version}
|
|
|
+
|
|
|
+%description -n rubygem-debug
|
|
|
+ This is completely rewritten debug.rb which was contained by the ancient
|
|
|
+Ruby versions.
|
|
|
+
|
|
|
+
|
|
|
%if %{with emacsen}
|
|
|
%package mode
|
|
|
Summary: Emacs-lisp ruby-mode for the scripting language Ruby
|
|
@@ -604,42 +566,14 @@ Emacs上でRubyスクリプトを書くのに便利なモードです.
|
|
|
%prep
|
|
|
%setup -q -n %{ruby_archive}
|
|
|
|
|
|
-# Remove bundled libraries to be sure they are not used.
|
|
|
-rm -rf ext/psych/yaml
|
|
|
-rm -rf ext/fiddle/libffi*
|
|
|
-
|
|
|
%patch0 -p1
|
|
|
%patch1 -p1
|
|
|
%patch2 -p1
|
|
|
%patch3 -p1
|
|
|
%patch4 -p1
|
|
|
-%patch5 -p1
|
|
|
%patch6 -p1
|
|
|
%patch9 -p1
|
|
|
-%patch15 -p1
|
|
|
-%patch16 -p1
|
|
|
-%patch17 -p1
|
|
|
-%patch18 -p1
|
|
|
-%patch19 -p1
|
|
|
-%patch20 -p1
|
|
|
-%patch21 -p1
|
|
|
-%patch31 -p1
|
|
|
-%patch40 -p1
|
|
|
-%patch41 -p1
|
|
|
-%patch42 -p1
|
|
|
-%patch43 -p1
|
|
|
-%patch44 -p1
|
|
|
-%patch45 -p1
|
|
|
-%patch46 -p1
|
|
|
-%patch47 -p1
|
|
|
-%patch48 -p1
|
|
|
-%patch49 -p1
|
|
|
-%patch50 -p1
|
|
|
-%patch51 -p1
|
|
|
-%patch52 -p1
|
|
|
-%patch53 -p1
|
|
|
-
|
|
|
-%patch1000 -p1 -R
|
|
|
+%patch12 -p1
|
|
|
|
|
|
cp -a %{SOURCE3} .
|
|
|
|
|
@@ -663,17 +597,16 @@ autoconf
|
|
|
--with-ruby-pc='%{name}.pc' \
|
|
|
--with-compress-debug-sections=no \
|
|
|
--disable-rpath \
|
|
|
+ --enable-mkmf-verbose \
|
|
|
--enable-shared \
|
|
|
--with-ruby-version='' \
|
|
|
--enable-multiarch \
|
|
|
%{nil}
|
|
|
|
|
|
-# Q= makes the build output more verbose and allows to check compiler options.
|
|
|
-make %{?_smp_mflags} COPY="cp -p" Q=
|
|
|
+%make_build COPY="cp -p"
|
|
|
|
|
|
|
|
|
%install
|
|
|
-rm -rf %{buildroot}
|
|
|
%make_install
|
|
|
|
|
|
# Version is empty if --with-ruby-version is specified.
|
|
@@ -806,10 +739,14 @@ ln -s %{_libdir}/gems/%{name}/psych-%{psych_version}/psych.so %{buildroot}%{ruby
|
|
|
|
|
|
# Move the binary extensions into proper place (if no gem has binary extension,
|
|
|
# the extensions directory might be empty).
|
|
|
-find %{buildroot}%{gem_dir}/extensions/*-%{_target_os}/%{ruby_version}/* -maxdepth 0 \
|
|
|
+find %{buildroot}%{gem_dir}/extensions/*-%{_target_os}/%{major_minor_version}.*/* -maxdepth 0 \
|
|
|
-exec mv '{}' %{buildroot}%{_libdir}/gems/%{name}/ \; \
|
|
|
|| echo "No gem binary extensions to move."
|
|
|
|
|
|
+# Remove the extension sources and library copies from `lib` dir.
|
|
|
+find %{buildroot}%{gem_dir}/gems/*/ext -maxdepth 0 -exec rm -rf '{}' +
|
|
|
+find %{buildroot}%{gem_dir}/gems/*/lib -name \*.so -delete
|
|
|
+
|
|
|
# Move man pages into proper location
|
|
|
mkdir -p %{buildroot}%{_mandir}/man{1,5}
|
|
|
mv %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/doc/rake.1 %{buildroot}%{_mandir}/man1
|
|
@@ -831,16 +768,23 @@ popd
|
|
|
# https://github.com/ruby/rake/pull/333
|
|
|
rm -rf %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/.github
|
|
|
|
|
|
-# Use standalone rubygem-racc if Racc binary is required. Shipping this
|
|
|
-# executable in both packages might possibly cause conflicts. The situation
|
|
|
-# could be better if Ruby generated these files:
|
|
|
-# https://github.com/ruby/ruby/pull/2545
|
|
|
-rm -f %{buildroot}%{_bindir}/racc
|
|
|
-rm -f %{buildroot}%{gem_dir}/gems/racc-%{racc_version}/bin
|
|
|
+# Prepare -doc subpackage file lists.
|
|
|
+find doc -maxdepth 1 -type f ! -name '.*' ! -name '*.ja*' > .ruby-doc.en
|
|
|
+echo 'doc/images' >> .ruby-doc.en
|
|
|
+echo 'doc/syntax' >> .ruby-doc.en
|
|
|
+
|
|
|
+find doc -maxdepth 1 -type f -name '*.ja*' > .ruby-doc.ja
|
|
|
+echo 'doc/irb' >> .ruby-doc.ja
|
|
|
+echo 'doc/pty' >> .ruby-doc.ja
|
|
|
+
|
|
|
+sed -i 's/^/%doc /' .ruby-doc.*
|
|
|
+sed -i 's/^/%lang(ja) /' .ruby-doc.ja
|
|
|
|
|
|
|
|
|
%if %{with test}
|
|
|
%check
|
|
|
+make -C ./test/net/fixtures regen_certs
|
|
|
+
|
|
|
# Check RubyGems version.
|
|
|
[ "`make runruby TESTRUN_SCRIPT='bin/gem -v' | tail -1`" == '%{rubygems_version}' ]
|
|
|
|
|
@@ -859,6 +803,7 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/OpenSSL::TestEngine#test_openssl_engine_built
|
|
|
DISABLE_TESTS="$DISABLE_TESTS -n !/OpenSSL::TestEngine#test_openssl_engine_by_id_string/"
|
|
|
DISABLE_TESTS="$DISABLE_TESTS -n !/OpenSSL::TestEngine#test_openssl_engine_digest_sha1/"
|
|
|
DISABLE_TESTS="$DISABLE_TESTS -n !/OpenSSL::TestEngine#test_openssl_engine_id_name_inspect/"
|
|
|
+DISABLE_TESTS="$DISABLE_TESTS -n !/TestZlibGzipFile#test_path_tmpfile/"
|
|
|
|
|
|
make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|
|
%endif
|
|
@@ -892,9 +837,7 @@ fi
|
|
|
%lang(ja) %license COPYING.ja
|
|
|
%license GPL
|
|
|
%license LEGAL
|
|
|
-%{_bindir}/erb
|
|
|
%{_bindir}/ruby
|
|
|
-%{_mandir}/man1/erb*
|
|
|
%{_mandir}/man1/ruby*
|
|
|
|
|
|
%files devel
|
|
@@ -917,12 +860,11 @@ fi
|
|
|
%license LEGAL
|
|
|
%doc README.md
|
|
|
%lang(ja) %doc README.ja.md
|
|
|
-%doc NEWS
|
|
|
-%doc doc/NEWS-*
|
|
|
+%doc NEWS.md
|
|
|
%{ruby_sitelibdir}
|
|
|
%{ruby_sitearchdir}
|
|
|
-%{ruby_vendorlibdir}
|
|
|
-%{ruby_vendorarchdir}
|
|
|
+%dir %{ruby_vendorlibdir}
|
|
|
+%dir %{ruby_vendorarchdir}
|
|
|
|
|
|
# List all these files explicitly to prevent surprises
|
|
|
# Platform independent libraries.
|
|
@@ -931,30 +873,71 @@ fi
|
|
|
%exclude %{ruby_libdir}/irb*
|
|
|
%exclude %{ruby_libdir}/json*
|
|
|
%exclude %{ruby_libdir}/psych*
|
|
|
-%{ruby_libdir}/*.rb
|
|
|
+%{ruby_libdir}/abbrev.rb
|
|
|
+%{ruby_libdir}/base64.rb
|
|
|
%{ruby_libdir}/benchmark*
|
|
|
-%{ruby_libdir}/cgi
|
|
|
-%{ruby_libdir}/csv
|
|
|
-%{ruby_libdir}/did_you_mean*
|
|
|
-%{ruby_libdir}/digest
|
|
|
-%{ruby_libdir}/drb
|
|
|
-%{ruby_libdir}/fiddle
|
|
|
-%{ruby_libdir}/forwardable
|
|
|
+%{ruby_libdir}/bundled_gems.rb
|
|
|
+%{ruby_libdir}/cgi*
|
|
|
+%{ruby_libdir}/coverage.rb
|
|
|
+%{ruby_libdir}/csv*
|
|
|
+%{ruby_libdir}/date.rb
|
|
|
+%{ruby_libdir}/delegate*
|
|
|
+%{ruby_libdir}/digest*
|
|
|
+%{ruby_libdir}/drb*
|
|
|
+%{ruby_libdir}/English.rb
|
|
|
+%{ruby_libdir}/erb*
|
|
|
+%{ruby_libdir}/error_highlight*
|
|
|
+%{ruby_libdir}/expect.rb
|
|
|
+%{ruby_libdir}/fiddle*
|
|
|
+%{ruby_libdir}/fileutils.rb
|
|
|
+%{ruby_libdir}/find.rb
|
|
|
+%{ruby_libdir}/forwardable*
|
|
|
+%{ruby_libdir}/getoptlong*
|
|
|
+%{ruby_libdir}/ipaddr.rb
|
|
|
+%{ruby_libdir}/kconv.rb
|
|
|
%{ruby_libdir}/logger*
|
|
|
-%{ruby_libdir}/matrix
|
|
|
+%{ruby_libdir}/mkmf.rb
|
|
|
+%{ruby_libdir}/monitor.rb
|
|
|
+%{ruby_libdir}/mutex_m.rb
|
|
|
%{ruby_libdir}/net
|
|
|
-%{ruby_libdir}/openssl
|
|
|
-%{ruby_libdir}/optparse
|
|
|
-%{ruby_libdir}/psych
|
|
|
-%{ruby_libdir}/racc
|
|
|
+%{ruby_libdir}/objspace*
|
|
|
+%{ruby_libdir}/observer*
|
|
|
+%{ruby_libdir}/open-uri.rb
|
|
|
+%{ruby_libdir}/open3*
|
|
|
+%{ruby_libdir}/optionparser.rb
|
|
|
+%{ruby_libdir}/optparse*
|
|
|
+%{ruby_libdir}/ostruct*
|
|
|
+%{ruby_libdir}/pathname.rb
|
|
|
+%{ruby_libdir}/pp.rb
|
|
|
+%{ruby_libdir}/prettyprint.rb
|
|
|
+%{ruby_libdir}/prism*
|
|
|
+%{ruby_libdir}/pstore*
|
|
|
+%{ruby_libdir}/random
|
|
|
+%{ruby_libdir}/readline.rb
|
|
|
%{ruby_libdir}/reline*
|
|
|
+%{ruby_libdir}/resolv.rb
|
|
|
+%{ruby_libdir}/resolv-replace.rb
|
|
|
%{ruby_libdir}/rinda
|
|
|
-%{ruby_libdir}/ripper
|
|
|
+%{ruby_libdir}/ripper*
|
|
|
+%dir %{ruby_libdir}/ruby_vm
|
|
|
+%{ruby_libdir}/ruby_vm/rjit
|
|
|
+%{ruby_libdir}/securerandom.rb
|
|
|
%{ruby_libdir}/set*
|
|
|
+%{ruby_libdir}/shellwords.rb
|
|
|
+%{ruby_libdir}/singleton*
|
|
|
+%{ruby_libdir}/socket.rb
|
|
|
+%{ruby_libdir}/syntax_suggest*
|
|
|
%{ruby_libdir}/syslog
|
|
|
+%{ruby_libdir}/tempfile.rb
|
|
|
+%{ruby_libdir}/timeout*
|
|
|
+%{ruby_libdir}/time.rb
|
|
|
+%{ruby_libdir}/tmpdir.rb
|
|
|
+%{ruby_libdir}/tsort.rb
|
|
|
%{ruby_libdir}/unicode_normalize
|
|
|
-%{ruby_libdir}/uri
|
|
|
-%{ruby_libdir}/yaml
|
|
|
+%{ruby_libdir}/un.rb
|
|
|
+%{ruby_libdir}/uri*
|
|
|
+%{ruby_libdir}/weakref*
|
|
|
+%{ruby_libdir}/yaml*
|
|
|
|
|
|
# Platform specific libraries.
|
|
|
%{_libdir}/libruby.so.*
|
|
@@ -964,7 +947,6 @@ fi
|
|
|
%{ruby_libarchdir}/continuation.so
|
|
|
%{ruby_libarchdir}/coverage.so
|
|
|
%{ruby_libarchdir}/date_core.so
|
|
|
-%{ruby_libarchdir}/dbm.so
|
|
|
%dir %{ruby_libarchdir}/digest
|
|
|
%{ruby_libarchdir}/digest.so
|
|
|
%{ruby_libarchdir}/digest/bubblebabble.so
|
|
@@ -1035,38 +1017,44 @@ fi
|
|
|
%{ruby_libarchdir}/enc/windows_1254.so
|
|
|
%{ruby_libarchdir}/enc/windows_1257.so
|
|
|
%{ruby_libarchdir}/enc/windows_31j.so
|
|
|
+%{ruby_libarchdir}/erb/escape.so
|
|
|
%{ruby_libarchdir}/etc.so
|
|
|
%{ruby_libarchdir}/fcntl.so
|
|
|
-%{ruby_libarchdir}/fiber.so
|
|
|
%{ruby_libarchdir}/fiddle.so
|
|
|
-%{ruby_libarchdir}/gdbm.so
|
|
|
%dir %{ruby_libarchdir}/io
|
|
|
%{ruby_libarchdir}/io/nonblock.so
|
|
|
%{ruby_libarchdir}/io/wait.so
|
|
|
%{ruby_libarchdir}/monitor.so
|
|
|
%{ruby_libarchdir}/nkf.so
|
|
|
%{ruby_libarchdir}/objspace.so
|
|
|
-%{ruby_libarchdir}/openssl.so
|
|
|
%{ruby_libarchdir}/pathname.so
|
|
|
-%{ruby_libarchdir}/psych.so
|
|
|
%{ruby_libarchdir}/pty.so
|
|
|
-%dir %{ruby_libarchdir}/racc
|
|
|
-%{ruby_libarchdir}/racc/cparse.so
|
|
|
-%{ruby_libarchdir}/rbconfig.rb
|
|
|
%dir %{ruby_libarchdir}/rbconfig
|
|
|
+%{ruby_libarchdir}/rbconfig.rb
|
|
|
%{ruby_libarchdir}/rbconfig/sizeof.so
|
|
|
-%{ruby_libarchdir}/readline.so
|
|
|
%{ruby_libarchdir}/ripper.so
|
|
|
%{ruby_libarchdir}/socket.so
|
|
|
%{ruby_libarchdir}/stringio.so
|
|
|
%{ruby_libarchdir}/strscan.so
|
|
|
%{ruby_libarchdir}/syslog.so
|
|
|
%{ruby_libarchdir}/zlib.so
|
|
|
+# Default gems
|
|
|
+%{ruby_libdir}/did_you_mean*
|
|
|
+%{ruby_libdir}/openssl*
|
|
|
+%{ruby_libarchdir}/openssl.so
|
|
|
+
|
|
|
+%files doc -f .ruby-doc.en -f .ruby-doc.ja
|
|
|
+%doc README.md
|
|
|
+%lang(ja) %doc README.ja.md
|
|
|
+%doc ChangeLog
|
|
|
+%{_datadir}/ri
|
|
|
|
|
|
%files rubygems
|
|
|
+%{_bindir}/erb
|
|
|
%{_bindir}/gem
|
|
|
-%{_bindir}/rbs
|
|
|
+%{_bindir}/syntax_suggest
|
|
|
%{_bindir}/typeprof
|
|
|
+%{_mandir}/man1/erb*
|
|
|
%{rubygems_dir}
|
|
|
%{gem_dir}
|
|
|
%{_libdir}/gems
|
|
@@ -1076,6 +1064,9 @@ fi
|
|
|
%exclude %{_libdir}/gems/%{name}/json-%{json_version}
|
|
|
%endif
|
|
|
%exclude %{_libdir}/gems/%{name}/psych-%{psych_version}
|
|
|
+%exclude %{_libdir}/gems/%{name}/racc-%{racc_version}
|
|
|
+%exclude %{_libdir}/gems/%{name}/rbs-%{rbs_version}
|
|
|
+%exclude %{_libdir}/gems/%{name}/debug-%{debug_version}
|
|
|
%exclude %{gem_dir}/gems/rake-%{rake_version}
|
|
|
%exclude %{gem_dir}/gems/rdoc-%{rdoc_version}
|
|
|
%exclude %{gem_dir}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
|
|
@@ -1088,6 +1079,10 @@ fi
|
|
|
%exclude %{gem_dir}/specifications/rake-%{rake_version}.gemspec
|
|
|
%exclude %{gem_dir}/specifications/rdoc-%{rdoc_version}.gemspec
|
|
|
%exclude %{gem_dir}/specifications/psych-%{psych_version}.gemspec
|
|
|
+%exclude %{gem_dir}/specifications/racc-%{racc_version}.gemspec
|
|
|
+%exclude %{gem_dir}/specifications/rbs-%{rbs_version}.gemspec
|
|
|
+%exclude %{gem_dir}/specifications/debug-%{debug_version}.gemspec
|
|
|
+%exclude %{gem_dir}/cache/*
|
|
|
|
|
|
%files rubygems-devel
|
|
|
%{_rpmconfigdir}/macros.d/macros.rubygems
|
|
@@ -1116,14 +1111,6 @@ fi
|
|
|
%{gem_dir}/specifications/rdoc-%{rdoc_version}.gemspec
|
|
|
%{_mandir}/man1/ri*
|
|
|
|
|
|
-%files doc
|
|
|
-%doc README.md
|
|
|
-%lang(ja) %doc README.ja.md
|
|
|
-%doc ChangeLog
|
|
|
-%doc doc/ChangeLog-*
|
|
|
-%{_datadir}/ri
|
|
|
-%{_docdir}/ruby
|
|
|
-
|
|
|
%files -n rubygem-bigdecimal
|
|
|
%{ruby_libdir}/bigdecimal*
|
|
|
%{ruby_libarchdir}/bigdecimal*
|
|
@@ -1177,6 +1164,24 @@ fi
|
|
|
%{_mandir}/man1/bundle*.1*
|
|
|
%{_mandir}/man5/gemfile.5*
|
|
|
|
|
|
+%files -n rubygem-rbs
|
|
|
+%{_bindir}/rbs
|
|
|
+%{_libdir}/gems/%{name}/rbs-%{rbs_version}
|
|
|
+%{gem_dir}/gems/rbs-%{rbs_version}
|
|
|
+%{gem_dir}/specifications/rbs-%{rbs_version}.gemspec
|
|
|
+
|
|
|
+%files -n rubygem-racc
|
|
|
+%{_bindir}/racc
|
|
|
+%{_libdir}/gems/%{name}/racc-%{racc_version}
|
|
|
+%{gem_dir}/gems/racc-%{racc_version}
|
|
|
+%{gem_dir}/specifications/racc-%{racc_version}.gemspec
|
|
|
+
|
|
|
+%files -n rubygem-debug
|
|
|
+%{_bindir}/rdbg
|
|
|
+%{_libdir}/gems/%{name}/debug-%{debug_version}
|
|
|
+%{gem_dir}/gems/debug-%{debug_version}
|
|
|
+%{gem_dir}/specifications/debug-%{debug_version}.gemspec
|
|
|
+
|
|
|
%if %{with emacsen}
|
|
|
%files mode
|
|
|
%defattr(-, root, root)
|
|
@@ -1188,6 +1193,9 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Aug 08 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.7-1
|
|
|
+- updated to 3.0.7.
|
|
|
+
|
|
|
* Fri Nov 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-2
|
|
|
- updated to 3.0.3.
|
|
|
- dropped Patch10: fixed in upstream.
|