Ship racc binary.

Resolves: rhbz#1851388
This commit is contained in:
Jun Aruga 2020-06-26 11:16:40 +02:00
parent d8e2548d44
commit 9b65bf6795
1 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@
%endif %endif
%global release 132 %global release 133
%{!?release_string:%define release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}} %{!?release_string:%define release_string %{?development_release:0.}%{release}%{?development_release:.%{development_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
@ -889,6 +889,7 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
%license GPL %license GPL
%license LEGAL %license LEGAL
%{_bindir}/erb %{_bindir}/erb
%{_bindir}/racc
%{_bindir}/%{name}%{?with_rubypick:-mri} %{_bindir}/%{name}%{?with_rubypick:-mri}
%{_mandir}/man1/erb* %{_mandir}/man1/erb*
%{_mandir}/man1/ruby* %{_mandir}/man1/ruby*
@ -1177,11 +1178,6 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
%{gem_dir}/specifications/default/yaml-0.1.0.gemspec %{gem_dir}/specifications/default/yaml-0.1.0.gemspec
%{gem_dir}/specifications/default/zlib-1.1.0.gemspec %{gem_dir}/specifications/default/zlib-1.1.0.gemspec
# 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
%exclude %{_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
@ -1293,6 +1289,10 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
%changelog %changelog
* Fri Jun 26 2020 Jun Aruga <jaruga@redhat.com> - 2.7.1-133
- Ship racc binary.
Resolves: rhbz#1851388
* Fri May 29 2020 Jun Aruga <jaruga@redhat.com> - 2.7.1-132 * Fri May 29 2020 Jun Aruga <jaruga@redhat.com> - 2.7.1-132
- Update to Ruby 2.7.1 by merging Fedora master branch (commit: 2981648) - Update to Ruby 2.7.1 by merging Fedora master branch (commit: 2981648)
* Skip unstable tests on s390x. * Skip unstable tests on s390x.