Shuffle bits of .spec file around.
Reorganize subpackages to keep default and bundled gems together.
This commit is contained in:
parent
1f1a445441
commit
de82ddebfd
1 changed files with 109 additions and 96 deletions
205
ruby.spec
205
ruby.spec
|
|
@ -33,6 +33,7 @@
|
|||
%global rubygems_version 3.2.0.pre1
|
||||
%global rubygems_molinillo_version 0.5.7
|
||||
|
||||
# Default gems.
|
||||
%global bundler_version 2.1.4
|
||||
%global bundler_connection_pool_version 2.2.2
|
||||
%global bundler_fileutils_version 1.3.0
|
||||
|
|
@ -45,16 +46,18 @@
|
|||
%global io_console_version 0.5.6
|
||||
%global irb_version 1.2.3
|
||||
%global json_version 2.3.0
|
||||
%global minitest_version 5.14.0
|
||||
%global openssl_version 2.2.0
|
||||
%global power_assert_version 1.1.6
|
||||
%global psych_version 3.1.0
|
||||
%global racc_version 1.4.16
|
||||
%global rake_version 13.0.1
|
||||
%global rdoc_version 6.2.1
|
||||
|
||||
# Bundled gems.
|
||||
%global minitest_version 5.14.0
|
||||
%global power_assert_version 1.1.6
|
||||
%global rake_version 13.0.1
|
||||
%global test_unit_version 3.3.5
|
||||
%global rexml_version 3.2.4
|
||||
%global rss_version 0.2.9
|
||||
%global test_unit_version 3.3.5
|
||||
|
||||
%global tapset_libdir %(echo %{_libdir} | sed 's/64//')*
|
||||
|
||||
|
|
@ -259,20 +262,10 @@ BuildArch: noarch
|
|||
Macros and development tools for packaging RubyGems.
|
||||
|
||||
|
||||
%package -n rubygem-rake
|
||||
Summary: Ruby based make-like utility
|
||||
Version: %{rake_version}
|
||||
License: MIT
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems) >= %{rubygems_version}
|
||||
Provides: rake = %{version}-%{release}
|
||||
Provides: rubygem(rake) = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n rubygem-rake
|
||||
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
||||
specified in standard Ruby syntax.
|
||||
|
||||
# Default gems
|
||||
#
|
||||
# These packages are part of Ruby StdLib and are expected to be loadable even
|
||||
# with disabled RubyGems.
|
||||
|
||||
%package -n rubygem-irb
|
||||
Summary: The Interactive Ruby
|
||||
|
|
@ -385,30 +378,6 @@ data to disk or transmit it over a network rather than use a verbose
|
|||
markup language.
|
||||
|
||||
|
||||
%package -n rubygem-minitest
|
||||
Summary: Minitest provides a complete suite of testing facilities
|
||||
Version: %{minitest_version}
|
||||
License: MIT
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems) >= %{rubygems_version}
|
||||
Provides: rubygem(minitest) = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n rubygem-minitest
|
||||
minitest/unit is a small and incredibly fast unit testing framework.
|
||||
|
||||
minitest/spec is a functionally complete spec engine.
|
||||
|
||||
minitest/benchmark is an awesome way to assert the performance of your
|
||||
algorithms in a repeatable manner.
|
||||
|
||||
minitest/mock by Steven Baker, is a beautifully tiny mock object
|
||||
framework.
|
||||
|
||||
minitest/pride shows pride in testing and adds coloring to your test
|
||||
output.
|
||||
|
||||
|
||||
%package -n rubygem-openssl
|
||||
Summary: OpenSSL provides SSL, TLS and general purpose cryptography
|
||||
Version: %{openssl_version}
|
||||
|
|
@ -422,21 +391,6 @@ OpenSSL provides SSL, TLS and general purpose cryptography. It wraps the
|
|||
OpenSSL library.
|
||||
|
||||
|
||||
%package -n rubygem-power_assert
|
||||
Summary: Power Assert for Ruby
|
||||
Version: %{power_assert_version}
|
||||
License: Ruby or BSD
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems) >= %{rubygems_version}
|
||||
Provides: rubygem(power_assert) = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n rubygem-power_assert
|
||||
Power Assert shows each value of variables and method calls in the expression.
|
||||
It is useful for testing, providing which value wasn't correct when the
|
||||
condition is not satisfied.
|
||||
|
||||
|
||||
%package -n rubygem-psych
|
||||
Summary: A libyaml wrapper for Ruby
|
||||
Version: %{psych_version}
|
||||
|
|
@ -452,25 +406,6 @@ capabilities. In addition to wrapping libyaml, Psych also knows how to
|
|||
serialize and de-serialize most Ruby objects to and from the YAML format.
|
||||
|
||||
|
||||
%package -n rubygem-test-unit
|
||||
Summary: An xUnit family unit testing framework for Ruby
|
||||
Version: %{test_unit_version}
|
||||
# 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.
|
||||
License: (Ruby or BSD) and (Ruby or BSD or Python) and (Ruby or BSD or LGPLv2+)
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems) >= %{rubygems_version}
|
||||
Requires: rubygem(power_assert)
|
||||
Provides: rubygem(test-unit) = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n rubygem-test-unit
|
||||
Test::Unit (test-unit) is unit testing framework for Ruby, based on xUnit
|
||||
principles. These were originally designed by Kent Beck, creator of extreme
|
||||
programming software development methodology, for Smalltalk's SUnit. It allows
|
||||
writing tests, checking results and automated testing in Ruby.
|
||||
|
||||
|
||||
%package -n rubygem-bundler
|
||||
Summary: Library and utilities to manage a Ruby application's gem dependencies
|
||||
Version: %{bundler_version}
|
||||
|
|
@ -505,6 +440,84 @@ Racc is a LALR(1) parser generator. It is written in Ruby itself, and
|
|||
generates Ruby program.
|
||||
|
||||
|
||||
# Bundled gems
|
||||
#
|
||||
# These are regular packages, which might be installed just optionally. Users
|
||||
# should list them among their dependencies (in Gemfile).
|
||||
|
||||
%package -n rubygem-minitest
|
||||
Summary: Minitest provides a complete suite of testing facilities
|
||||
Version: %{minitest_version}
|
||||
License: MIT
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems) >= %{rubygems_version}
|
||||
Provides: rubygem(minitest) = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n rubygem-minitest
|
||||
minitest/unit is a small and incredibly fast unit testing framework.
|
||||
|
||||
minitest/spec is a functionally complete spec engine.
|
||||
|
||||
minitest/benchmark is an awesome way to assert the performance of your
|
||||
algorithms in a repeatable manner.
|
||||
|
||||
minitest/mock by Steven Baker, is a beautifully tiny mock object
|
||||
framework.
|
||||
|
||||
minitest/pride shows pride in testing and adds coloring to your test
|
||||
output.
|
||||
|
||||
|
||||
%package -n rubygem-power_assert
|
||||
Summary: Power Assert for Ruby
|
||||
Version: %{power_assert_version}
|
||||
License: Ruby or BSD
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems) >= %{rubygems_version}
|
||||
Provides: rubygem(power_assert) = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n rubygem-power_assert
|
||||
Power Assert shows each value of variables and method calls in the expression.
|
||||
It is useful for testing, providing which value wasn't correct when the
|
||||
condition is not satisfied.
|
||||
|
||||
|
||||
%package -n rubygem-rake
|
||||
Summary: Ruby based make-like utility
|
||||
Version: %{rake_version}
|
||||
License: MIT
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems) >= %{rubygems_version}
|
||||
Provides: rake = %{version}-%{release}
|
||||
Provides: rubygem(rake) = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n rubygem-rake
|
||||
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
||||
specified in standard Ruby syntax.
|
||||
|
||||
|
||||
%package -n rubygem-test-unit
|
||||
Summary: An xUnit family unit testing framework for Ruby
|
||||
Version: %{test_unit_version}
|
||||
# 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.
|
||||
License: (Ruby or BSD) and (Ruby or BSD or Python) and (Ruby or BSD or LGPLv2+)
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems) >= %{rubygems_version}
|
||||
Requires: rubygem(power_assert)
|
||||
Provides: rubygem(test-unit) = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n rubygem-test-unit
|
||||
Test::Unit (test-unit) is unit testing framework for Ruby, based on xUnit
|
||||
principles. These were originally designed by Kent Beck, creator of extreme
|
||||
programming software development methodology, for Smalltalk's SUnit. It allows
|
||||
writing tests, checking results and automated testing in Ruby.
|
||||
|
||||
|
||||
%package -n rubygem-rexml
|
||||
Summary: An XML toolkit for Ruby
|
||||
Version: %{rexml_version}
|
||||
|
|
@ -1136,12 +1149,6 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|||
%{_rpmconfigdir}/rubygems.prov
|
||||
%{_rpmconfigdir}/rubygems.con
|
||||
|
||||
%files -n rubygem-rake
|
||||
%{_bindir}/rake
|
||||
%{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*
|
||||
|
|
@ -1188,11 +1195,6 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|||
%{gem_dir}/gems/json-%{json_version}
|
||||
%{gem_dir}/specifications/json-%{json_version}.gemspec
|
||||
|
||||
%files -n rubygem-minitest
|
||||
%{gem_dir}/gems/minitest-%{minitest_version}
|
||||
%exclude %{gem_dir}/gems/minitest-%{minitest_version}/.*
|
||||
%{gem_dir}/specifications/minitest-%{minitest_version}.gemspec
|
||||
|
||||
%files -n rubygem-openssl
|
||||
%{ruby_libdir}/openssl
|
||||
%{ruby_libdir}/openssl.rb
|
||||
|
|
@ -1201,11 +1203,6 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|||
%{gem_dir}/gems/openssl-%{openssl_version}
|
||||
%{gem_dir}/specifications/openssl-%{openssl_version}.gemspec
|
||||
|
||||
%files -n rubygem-power_assert
|
||||
%{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
|
||||
%{ruby_libdir}/psych
|
||||
%{ruby_libdir}/psych.rb
|
||||
|
|
@ -1214,10 +1211,6 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|||
%{gem_dir}/gems/psych-%{psych_version}
|
||||
%{gem_dir}/specifications/psych-%{psych_version}.gemspec
|
||||
|
||||
%files -n rubygem-test-unit
|
||||
%{gem_dir}/gems/test-unit-%{test_unit_version}
|
||||
%{gem_dir}/specifications/test-unit-%{test_unit_version}.gemspec
|
||||
|
||||
%files -n rubygem-bundler
|
||||
%{_bindir}/bundle
|
||||
%{_bindir}/bundler
|
||||
|
|
@ -1234,6 +1227,26 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|||
%{gem_dir}/gems/racc-%{racc_version}
|
||||
%{gem_dir}/specifications/racc-%{racc_version}.gemspec
|
||||
|
||||
%files -n rubygem-minitest
|
||||
%{gem_dir}/gems/minitest-%{minitest_version}
|
||||
%exclude %{gem_dir}/gems/minitest-%{minitest_version}/.*
|
||||
%{gem_dir}/specifications/minitest-%{minitest_version}.gemspec
|
||||
|
||||
%files -n rubygem-power_assert
|
||||
%{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-rake
|
||||
%{_bindir}/rake
|
||||
%{gem_dir}/gems/rake-%{rake_version}
|
||||
%{gem_dir}/specifications/rake-%{rake_version}.gemspec
|
||||
%{_mandir}/man1/rake.1*
|
||||
|
||||
%files -n rubygem-test-unit
|
||||
%{gem_dir}/gems/test-unit-%{test_unit_version}
|
||||
%{gem_dir}/specifications/test-unit-%{test_unit_version}.gemspec
|
||||
|
||||
%files -n rubygem-rexml
|
||||
%dir %{gem_dir}/gems/rexml-%{rexml_version}
|
||||
%exclude %{gem_dir}/gems/rexml-%{rexml_version}/.*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue