|
@@ -3,7 +3,7 @@
|
|
|
|
|
|
%global major_version 2
|
|
%global major_version 2
|
|
%global minor_version 6
|
|
%global minor_version 6
|
|
-%global teeny_version 6
|
|
+%global teeny_version 7
|
|
|
|
|
|
%global major_minor_version %{major_version}.%{minor_version}
|
|
%global major_minor_version %{major_version}.%{minor_version}
|
|
|
|
|
|
@@ -13,7 +13,8 @@
|
|
|
|
|
|
%global ruby_archive %{name}-%{ruby_version}
|
|
%global ruby_archive %{name}-%{ruby_version}
|
|
|
|
|
|
-%global rubygems_version 3.0.3
|
|
+# lib/rubygems.rb
|
|
|
|
+%global rubygems_version 3.0.3.1
|
|
|
|
|
|
# The RubyGems library has to stay out of Ruby directory tree, since the
|
|
# The RubyGems library has to stay out of Ruby directory tree, since the
|
|
# RubyGems should be share by all Ruby implementations.
|
|
# RubyGems should be share by all Ruby implementations.
|
|
@@ -24,36 +25,36 @@
|
|
%global gem_extdir %{_libdir}/gems
|
|
%global gem_extdir %{_libdir}/gems
|
|
%global gem_extdirs %{_exec_prefix}/lib{,64}/gems
|
|
%global gem_extdirs %{_exec_prefix}/lib{,64}/gems
|
|
|
|
|
|
-# lib/bundler
|
|
+# lib/bundler/version.rb
|
|
%global bundler_version 1.17.2
|
|
%global bundler_version 1.17.2
|
|
-# lib/fileutils
|
|
+# lib/fileutils/version.rb
|
|
%global bundler_fileutils_version 1.1.0
|
|
%global bundler_fileutils_version 1.1.0
|
|
# lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb
|
|
# lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb
|
|
%global bundler_molinillo_version 0.6.6
|
|
%global bundler_molinillo_version 0.6.6
|
|
# lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
|
|
# lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
|
|
%global bundler_net_http_persistent_version 2.9.4
|
|
%global bundler_net_http_persistent_version 2.9.4
|
|
-# lib/bundler/vendor/thor/lib/thor
|
|
+# lib/bundler/vendor/thor/lib/thor/version.rb
|
|
%global bundler_thor_version 0.20.0
|
|
%global bundler_thor_version 0.20.0
|
|
|
|
|
|
# TODO: The IRB has strange versioning. Keep the Ruby's versioning ATM.
|
|
# TODO: The IRB has strange versioning. Keep the Ruby's versioning ATM.
|
|
# http://redmine.ruby-lang.org/issues/5313
|
|
# http://redmine.ruby-lang.org/issues/5313
|
|
%global irb_version %{ruby_version}
|
|
%global irb_version %{ruby_version}
|
|
|
|
|
|
-# ext/bigdecimal
|
|
+# ext/bigdecimal/bigdecimal.gemspec
|
|
%global bigdecimal_version 1.4.1
|
|
%global bigdecimal_version 1.4.1
|
|
-# ext/io/console
|
|
+# ext/io/console/io-console.gemspec
|
|
%global io_console_version 0.4.7
|
|
%global io_console_version 0.4.7
|
|
-# ext/json
|
|
+# ext/json/json.gemspec
|
|
%global json_version 2.1.0
|
|
%global json_version 2.1.0
|
|
-# ext/psych
|
|
+# ext/psych/lib/psych/versions.rb
|
|
%global psych_version 3.1.0
|
|
%global psych_version 3.1.0
|
|
-# gems
|
|
+# gems/bundled_gems
|
|
%global minitest_version 5.11.3
|
|
%global minitest_version 5.11.3
|
|
%global power_assert_version 1.1.3
|
|
%global power_assert_version 1.1.3
|
|
%global rake_version 12.3.3
|
|
%global rake_version 12.3.3
|
|
%global test_unit_version 3.2.9
|
|
%global test_unit_version 3.2.9
|
|
%global xmlrpc_version 0.3.0
|
|
%global xmlrpc_version 0.3.0
|
|
-# lib/rdoc
|
|
+# lib/rdoc/version.rb
|
|
%global rdoc_version 6.1.2
|
|
%global rdoc_version 6.1.2
|
|
|
|
|
|
# Note:
|
|
# Note:
|
|
@@ -64,7 +65,7 @@
|
|
#
|
|
#
|
|
# 全てのサブパッケージのバージョンが上がる場合を除き、rubyのmainバージョンが
|
|
# 全てのサブパッケージのバージョンが上がる場合を除き、rubyのmainバージョンが
|
|
# 更新されても1には戻さずに必ず+1してください。
|
|
# 更新されても1には戻さずに必ず+1してください。
|
|
-%global ruby_rel 2
|
|
+%global ruby_rel 3
|
|
|
|
|
|
%bcond_without emacsen
|
|
%bcond_without emacsen
|
|
%define rbmode ruby-mode
|
|
%define rbmode ruby-mode
|
|
@@ -77,7 +78,11 @@ Summary(ja): オブジェクト指向言語 Ruby インタプリタ
|
|
Name: ruby
|
|
Name: ruby
|
|
Version: %{ruby_version}
|
|
Version: %{ruby_version}
|
|
Release: %{ruby_rel}%{?_dist_release}
|
|
Release: %{ruby_rel}%{?_dist_release}
|
|
-Group: Development/Languages
|
|
+Group: programming
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Packager: daisuke
|
|
|
|
+
|
|
# Public Domain for example for: include/ruby/st.h, strftime.c, ...
|
|
# Public Domain for example for: include/ruby/st.h, strftime.c, ...
|
|
License: (Ruby or BSD) and Public Domain
|
|
License: (Ruby or BSD) and Public Domain
|
|
URL: http://ruby-lang.org/
|
|
URL: http://ruby-lang.org/
|
|
@@ -153,7 +158,6 @@ Patch7: ruby-2.2.3-Generate-preludes-using-miniruby.patch
|
|
# hardening features of glibc (rhbz#1361037).
|
|
# hardening features of glibc (rhbz#1361037).
|
|
# https://bugs.ruby-lang.org/issues/12666
|
|
# https://bugs.ruby-lang.org/issues/12666
|
|
Patch9: ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch
|
|
Patch9: ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch
|
|
-
|
|
|
|
# `gem build ../foo.gemspec` changes directory, which does not play well with
|
|
# `gem build ../foo.gemspec` changes directory, which does not play well with
|
|
# gems unpacked by setup macro.
|
|
# gems unpacked by setup macro.
|
|
# https://github.com/rubygems/rubygems/issues/2587
|
|
# https://github.com/rubygems/rubygems/issues/2587
|
|
@@ -161,11 +165,14 @@ Patch11: rubygems-3.0.3-Restore-gem-build-behavior-and-introdcue-the-C-flag-to-g
|
|
# This allows to loosen the RDoc dependency again.
|
|
# This allows to loosen the RDoc dependency again.
|
|
# https://github.com/rubygems/rubygems/pull/2604
|
|
# https://github.com/rubygems/rubygems/pull/2604
|
|
Patch12: rubygems-3.0.3-Avoid-rdoc-hook-when-its-failed-to-load-rdoc-library.patch
|
|
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.
|
|
# Add support for .include directive used by OpenSSL config files.
|
|
# https://github.com/ruby/openssl/pull/216
|
|
# https://github.com/ruby/openssl/pull/216
|
|
Patch22: ruby-2.6.0-config-support-include-directive.patch
|
|
Patch22: ruby-2.6.0-config-support-include-directive.patch
|
|
|
|
+# https://github.com/ruby/ruby/commit/72c02aa4b79731c7f25c9267f74b347f1946c704
|
|
|
|
+Patch42: ruby-2.8.0-Moved-not-implemented-method-tests.patch
|
|
|
|
|
|
|
|
+# https://github.com/ruby/ruby/commit/fcc88da5eb162043adcba552646677d2ab5adf55
|
|
|
|
+Patch1000: ruby-autoconf-2.7x.patch
|
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -194,11 +201,6 @@ BuildRequires: zlib-devel
|
|
# Needed to pass test_set_program_name(TestRubyOptions)
|
|
# Needed to pass test_set_program_name(TestRubyOptions)
|
|
BuildRequires: procps
|
|
BuildRequires: procps
|
|
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Packager: daisuke
|
|
|
|
-
|
|
|
|
-
|
|
|
|
%description
|
|
%description
|
|
Ruby is the interpreted scripting language for quick and easy
|
|
Ruby is the interpreted scripting language for quick and easy
|
|
object-oriented programming. It has many features to process text
|
|
object-oriented programming. It has many features to process text
|
|
@@ -215,6 +217,7 @@ Rubyはテキスト処理関係の能力などに優れ,Perlと同じくらい
|
|
にシンプルな文法と,例外処理やイテレータなどの機構によって,より分かり
|
|
にシンプルな文法と,例外処理やイテレータなどの機構によって,より分かり
|
|
やすいプログラミングが出来ます.
|
|
やすいプログラミングが出来ます.
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: A Ruby development environment
|
|
Summary: A Ruby development environment
|
|
Summary(ja): Ruby 開発環境
|
|
Summary(ja): Ruby 開発環境
|
|
@@ -233,7 +236,7 @@ Rubyのための拡張ライブラリやRubyを組み込んだアプリケーシ
|
|
|
|
|
|
%package libs
|
|
%package libs
|
|
Summary: Libraries necessary to run Ruby
|
|
Summary: Libraries necessary to run Ruby
|
|
-Group: Development/Libraries
|
|
+Group: system
|
|
License: Ruby or BSD
|
|
License: Ruby or BSD
|
|
Provides: ruby(abi) = %{ruby_release}
|
|
Provides: ruby(abi) = %{ruby_release}
|
|
Provides: ruby(release) = %{ruby_release}
|
|
Provides: ruby(release) = %{ruby_release}
|
|
@@ -255,7 +258,7 @@ This package includes the libruby, necessary to run Ruby.
|
|
Summary: Packaging system for Ruby application or library
|
|
Summary: Packaging system for Ruby application or library
|
|
Summary(ja): Ruby アプリケーションやライブラリのためのパッケージシステム
|
|
Summary(ja): Ruby アプリケーションやライブラリのためのパッケージシステム
|
|
Version: %{rubygems_version}
|
|
Version: %{rubygems_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
License: Ruby or MIT
|
|
License: Ruby or MIT
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: rubygem(rdoc) >= %{rdoc_version}
|
|
Requires: rubygem(rdoc) >= %{rdoc_version}
|
|
@@ -279,7 +282,7 @@ RubyGems は Ruby 標準のサードパーティ製ライブラリのパッケ
|
|
%package rubygems-devel
|
|
%package rubygems-devel
|
|
Summary: Macros and development tools for packaging RubyGems
|
|
Summary: Macros and development tools for packaging RubyGems
|
|
Version: %{rubygems_version}
|
|
Version: %{rubygems_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
License: Ruby or MIT
|
|
License: Ruby or MIT
|
|
Requires: ruby(rubygems) = %{version}-%{release}
|
|
Requires: ruby(rubygems) = %{version}-%{release}
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
@@ -292,7 +295,7 @@ Macros and development tools for packaging RubyGems.
|
|
Summary: Ruby based make-like utility
|
|
Summary: Ruby based make-like utility
|
|
Summary(ja): Ruby ベースの make のようなユーティリティ
|
|
Summary(ja): Ruby ベースの make のようなユーティリティ
|
|
Version: %{rake_version}
|
|
Version: %{rake_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
License: Ruby or MIT
|
|
License: Ruby or MIT
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -312,7 +315,7 @@ Rake は Ruby ベースの make のようなユーティリティです。
|
|
Summary: The Interactive Ruby
|
|
Summary: The Interactive Ruby
|
|
Summary(ja): インタラクティブ Ruby
|
|
Summary(ja): インタラクティブ Ruby
|
|
Version: %{irb_version}
|
|
Version: %{irb_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
Requires: %{name}-libs = %{ruby_version}
|
|
Requires: %{name}-libs = %{ruby_version}
|
|
Obsoletes: irb < 1.9
|
|
Obsoletes: irb < 1.9
|
|
Provides: irb = %{version}-%{release}
|
|
Provides: irb = %{version}-%{release}
|
|
@@ -332,7 +335,7 @@ irb は Interactive RuBy の略で、対話的にRubyの式を入力し、
|
|
Summary: A tool to generate HTML and command-line documentation for Ruby projects
|
|
Summary: A tool to generate HTML and command-line documentation for Ruby projects
|
|
Summary(ja): Rubyのソースコードからドキュメントを生成するツール
|
|
Summary(ja): Rubyのソースコードからドキュメントを生成するツール
|
|
Version: %{rdoc_version}
|
|
Version: %{rdoc_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
License: GPLv2 and Ruby and MIT
|
|
License: GPLv2 and Ruby and MIT
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -358,7 +361,7 @@ RDocはRubyのソースコードからドキュメントを生成するツール
|
|
%package doc
|
|
%package doc
|
|
Summary: Documentation for %{name}
|
|
Summary: Documentation for %{name}
|
|
Summary(ja): %{name} のドキュメント
|
|
Summary(ja): %{name} のドキュメント
|
|
-Group: Applications/Documentation
|
|
+Group: documentation
|
|
Requires: %{_bindir}/ri
|
|
Requires: %{_bindir}/ri
|
|
# TODO: It seems that ri documentation differs from platform to platform due to
|
|
# TODO: It seems that ri documentation differs from platform to platform due to
|
|
# some encoding bugs, therefore the documentation should be split out of this gem
|
|
# some encoding bugs, therefore the documentation should be split out of this gem
|
|
@@ -373,7 +376,7 @@ This package contains documentation for %{name}.
|
|
%package -n rubygem-bigdecimal
|
|
%package -n rubygem-bigdecimal
|
|
Summary: BigDecimal provides arbitrary-precision floating point decimal arithmetic
|
|
Summary: BigDecimal provides arbitrary-precision floating point decimal arithmetic
|
|
Version: %{bigdecimal_version}
|
|
Version: %{bigdecimal_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
License: GPL+ or Artistic
|
|
License: GPL+ or Artistic
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -395,7 +398,7 @@ conversion between base 10 and base 2.
|
|
%package -n rubygem-io-console
|
|
%package -n rubygem-io-console
|
|
Summary: IO/Console is a simple console utilizing library
|
|
Summary: IO/Console is a simple console utilizing library
|
|
Version: %{io_console_version}
|
|
Version: %{io_console_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Provides: rubygem(io-console) = %{version}-%{release}
|
|
Provides: rubygem(io-console) = %{version}-%{release}
|
|
@@ -408,7 +411,7 @@ provide higher layer features, such like curses and readline.
|
|
%package -n rubygem-json
|
|
%package -n rubygem-json
|
|
Summary: This is a JSON implementation as a Ruby extension in C
|
|
Summary: This is a JSON implementation as a Ruby extension in C
|
|
Version: %{json_version}
|
|
Version: %{json_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
License: Ruby or GPLv2
|
|
License: Ruby or GPLv2
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -424,7 +427,7 @@ markup language.
|
|
%package -n rubygem-minitest
|
|
%package -n rubygem-minitest
|
|
Summary: Minitest provides a complete suite of testing facilities.
|
|
Summary: Minitest provides a complete suite of testing facilities.
|
|
Version: %{minitest_version}
|
|
Version: %{minitest_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
License: MIT
|
|
License: MIT
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(release) = %{ruby_release}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -449,7 +452,7 @@ output.
|
|
%package -n rubygem-psych
|
|
%package -n rubygem-psych
|
|
Summary: A libyaml wrapper for Ruby
|
|
Summary: A libyaml wrapper for Ruby
|
|
Version: %{psych_version}
|
|
Version: %{psych_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
License: MIT
|
|
License: MIT
|
|
Requires: ruby(release)
|
|
Requires: ruby(release)
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -466,7 +469,7 @@ from the YAML format.
|
|
%package -n rubygem-power_assert
|
|
%package -n rubygem-power_assert
|
|
Summary: Power Assert for Ruby
|
|
Summary: Power Assert for Ruby
|
|
Version: %{power_assert_version}
|
|
Version: %{power_assert_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
License: Ruby or BSD
|
|
License: Ruby or BSD
|
|
Requires: ruby(release)
|
|
Requires: ruby(release)
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -480,7 +483,7 @@ Power Assert for Ruby.
|
|
%package -n rubygem-test-unit
|
|
%package -n rubygem-test-unit
|
|
Summary: Improved version of Test::Unit bundled in Ruby 1.8.x
|
|
Summary: Improved version of Test::Unit bundled in Ruby 1.8.x
|
|
Version: %{test_unit_version}
|
|
Version: %{test_unit_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
# lib/test/unit/diff.rb is a double license of the Ruby license and PSF license.
|
|
# lib/test/unit/diff.rb is a double license of the Ruby license and PSF license.
|
|
# lib/test-unit.rb is a dual license of the Ruby license and LGPLv2.1 or later.
|
|
# lib/test-unit.rb is a dual license of the Ruby license and LGPLv2.1 or later.
|
|
License: (Ruby or BSD) and (Ruby or BSD or Python) and (Ruby or BSD or LGPLv2+)
|
|
License: (Ruby or BSD) and (Ruby or BSD or Python) and (Ruby or BSD or LGPLv2+)
|
|
@@ -499,7 +502,7 @@ Test::Unit (test-unit) is improved actively.
|
|
%package -n rubygem-xmlrpc
|
|
%package -n rubygem-xmlrpc
|
|
Summary: XMLRPC is a lightweight protocol that enables remote procedure calls over H TTP
|
|
Summary: XMLRPC is a lightweight protocol that enables remote procedure calls over H TTP
|
|
Version: %{xmlrpc_version}
|
|
Version: %{xmlrpc_version}
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
License: Ruby or BSD
|
|
License: Ruby or BSD
|
|
Requires: ruby(release)
|
|
Requires: ruby(release)
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -514,6 +517,7 @@ over HTTP.
|
|
%package -n rubygem-bundler
|
|
%package -n rubygem-bundler
|
|
Summary: Library and utilities to manage a Ruby application's gem dependencies
|
|
Summary: Library and utilities to manage a Ruby application's gem dependencies
|
|
Version: %{bundler_version}
|
|
Version: %{bundler_version}
|
|
|
|
+Group: programming
|
|
License: MIT
|
|
License: MIT
|
|
Requires: ruby(release)
|
|
Requires: ruby(release)
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
Requires: ruby(rubygems) >= %{rubygems_version}
|
|
@@ -535,7 +539,7 @@ many machines, systematically and repeatably.
|
|
%package mode
|
|
%package mode
|
|
Summary: Emacs-lisp ruby-mode for the scripting language Ruby
|
|
Summary: Emacs-lisp ruby-mode for the scripting language Ruby
|
|
Summary(ja): Emacs上でRubyスクリプトを書くためのモード
|
|
Summary(ja): Emacs上でRubyスクリプトを書くためのモード
|
|
-Group: Applications/Editors/Emacs
|
|
+Group: programming
|
|
Requires(post): emacsen, emacsen-common >= 0.1
|
|
Requires(post): emacsen, emacsen-common >= 0.1
|
|
Requires(preun): emacsen, emacsen-common >= 0.1
|
|
Requires(preun): emacsen, emacsen-common >= 0.1
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
@@ -548,6 +552,9 @@ Emacs上でRubyスクリプトを書くのに便利なモードです.
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{ruby_archive}
|
|
%setup -q -n %{ruby_archive}
|
|
|
|
|
|
@@ -563,6 +570,10 @@ Emacs上でRubyスクリプトを書くのに便利なモードです.
|
|
%patch11 -p1
|
|
%patch11 -p1
|
|
%patch12 -p1
|
|
%patch12 -p1
|
|
%patch22 -p1
|
|
%patch22 -p1
|
|
|
|
+%patch42 -p1
|
|
|
|
+
|
|
|
|
+# upstream patches
|
|
|
|
+%patch1000 -p1
|
|
|
|
|
|
cp -a %{SOURCE3} .
|
|
cp -a %{SOURCE3} .
|
|
|
|
|
|
@@ -589,7 +600,6 @@ autoconf
|
|
--enable-multiarch \
|
|
--enable-multiarch \
|
|
--with-prelude=./abrt_prelude.rb
|
|
--with-prelude=./abrt_prelude.rb
|
|
|
|
|
|
-
|
|
|
|
# Q= makes the build output more verbose and allows to check compiler options.
|
|
# Q= makes the build output more verbose and allows to check compiler options.
|
|
make %{?_smp_mflags} COPY="cp -p" Q=
|
|
make %{?_smp_mflags} COPY="cp -p" Q=
|
|
|
|
|
|
@@ -759,6 +769,7 @@ popd
|
|
%if %{with test}
|
|
%if %{with test}
|
|
%check
|
|
%check
|
|
DISABLE_TESTS=""
|
|
DISABLE_TESTS=""
|
|
|
|
+MSPECOPTS=""
|
|
|
|
|
|
# OpenSSL 1.0.1 is breaking the drb test suite.
|
|
# OpenSSL 1.0.1 is breaking the drb test suite.
|
|
# https://bugs.ruby-lang.org/issues/6221
|
|
# https://bugs.ruby-lang.org/issues/6221
|
|
@@ -773,18 +784,23 @@ DISABLE_TESTS="-x test_curses.rb $DISABLE_TESTS"
|
|
DISABLE_TESTS="-x test_dl2.rb $DISABLE_TESTS"
|
|
DISABLE_TESTS="-x test_dl2.rb $DISABLE_TESTS"
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+# Disable lchmod tests
|
|
|
|
+DISABLE_TESTS="-x test_notimp.rb $DISABLE_TESTS"
|
|
|
|
+
|
|
touch abrt.rb
|
|
touch abrt.rb
|
|
|
|
|
|
|
|
+# Disable File.lchmod specs, which fails when building against glibc 2.31.9000.
|
|
|
|
+# https://bugs.ruby-lang.org/issues/16749
|
|
|
|
+MSPECOPTS="$MSPECOPTS -P 'File.lchmod returns false from \#respond_to?'"
|
|
|
|
+MSPECOPTS="$MSPECOPTS -P 'File.lchmod raises a NotImplementedError when called'"
|
|
|
|
+
|
|
%ifnarch ppc ppc64
|
|
%ifnarch ppc ppc64
|
|
# Allow MD5 in OpenSSL.
|
|
# Allow MD5 in OpenSSL.
|
|
# https://bugs.ruby-lang.org/issues/9154
|
|
# https://bugs.ruby-lang.org/issues/9154
|
|
-OPENSSL_ENABLE_MD5_VERIFY=1 make check TESTS="-v $DISABLE_TESTS"
|
|
+OPENSSL_ENABLE_MD5_VERIFY=1 make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|
%endif
|
|
%endif
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-%post libs -p /sbin/ldconfig
|
|
|
|
-
|
|
|
|
-%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%if %{with emacsen}
|
|
%if %{with emacsen}
|
|
%post -n %{rbmode_el}
|
|
%post -n %{rbmode_el}
|
|
@@ -807,7 +823,7 @@ if [ "$1" = 0 ]; then
|
|
|
|
|
|
fi
|
|
fi
|
|
%endif
|
|
%endif
|
|
-
|
|
+
|
|
|
|
|
|
%files
|
|
%files
|
|
%license COPYING
|
|
%license COPYING
|
|
@@ -1117,6 +1133,9 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat May 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.7-1
|
|
|
|
+- updated to 2.6.7.
|
|
|
|
+
|
|
* Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.6-2
|
|
* Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.6-2
|
|
- updated to 2.6.6.
|
|
- updated to 2.6.6.
|
|
- disabled json (provided by another srpm temporalily for CVE-2020-10663).
|
|
- disabled json (provided by another srpm temporalily for CVE-2020-10663).
|