Browse Source

ruby remove rubypick

Signed-off-by: basebuilder_pel7ppc64lebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64lebuilder0 3 years ago
parent
commit
d7dc7fa27c
  1. 15
      SPECS/ruby.spec

15
SPECS/ruby.spec

@ -23,7 +23,8 @@




%global release 137 %global release 137
%{!?release_string:%define release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}} %define release_string %{release}%{dist}



# 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.
@ -174,7 +175,7 @@ Patch19: ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch
Patch20: ruby-3.0.0-preview1-Enable-arm64-optimizations-that-exist-for-power-x86.patch Patch20: ruby-3.0.0-preview1-Enable-arm64-optimizations-that-exist-for-power-x86.patch


Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: rubypick #Requires: rubypick
Requires: ruby(rubygems) >= %{rubygems_version} Requires: ruby(rubygems) >= %{rubygems_version}
Requires: rubygem(bigdecimal) >= %{bigdecimal_version} Requires: rubygem(bigdecimal) >= %{bigdecimal_version}
# Change this to requires, hopefully just as temporary measure. # Change this to requires, hopefully just as temporary measure.
@ -673,7 +674,7 @@ mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults


# Move gems root into common direcotry, out of Ruby directory structure. # Move gems root into common direcotry, out of Ruby directory structure.
mv %{buildroot}%{ruby_libdir}/gems %{buildroot}%{gem_dir} #mv %{buildroot}%{ruby_libdir}/gems %{buildroot}%{gem_dir}


# Create folders for gem binary extensions. # Create folders for gem binary extensions.
# TODO: These folders should go into rubygem-filesystem but how to achieve it, # TODO: These folders should go into rubygem-filesystem but how to achieve it,
@ -1177,12 +1178,14 @@ MSPECOPTS="$MSPECOPTS -P 'File.lchmod changes the file mode of the link and not
# executable in both packages might possibly cause conflicts. The situation # executable in both packages might possibly cause conflicts. The situation
# could be better if Ruby generated these files: # could be better if Ruby generated these files:
# https://github.com/ruby/ruby/pull/2545 # https://github.com/ruby/ruby/pull/2545
%exclude %{_bindir}/racc %{_bindir}/racc
# These have wrong shebangs. Exclude them for now and let's see what upstream # These have wrong shebangs. Exclude them for now and let's see what upstream
# thinks about them. # thinks about them.
# https://bugs.ruby-lang.org/issues/15982 # https://bugs.ruby-lang.org/issues/15982
%exclude %{_bindir}/{racc2y,y2racc} %{_bindir}/racc2y
%exclude %{gem_dir}/gems/racc-%{racc_version}/bin/{racc2y,y2racc} %{_bindir}/y2racc
%exclude %{gem_dir}/gems/racc-%{racc_version}/bin/racc2y
%exclude %{gem_dir}/gems/racc-%{racc_version}/bin/y2racc
%{gem_dir}/gems/racc-%{racc_version} %{gem_dir}/gems/racc-%{racc_version}


%files -n rubygem-irb %files -n rubygem-irb

Loading…
Cancel
Save