Disable package notes to prevent rubygem- build breakage.
The embedded linker flags breaks build of rubygem- packages with binary extension: ~~~ gcc -shared -o nio4r_ext.so bytebuffer.o monitor.o nio4r_ext.o selector.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/.package_note-rubygem-nio4r-2.5.2-6.fc36.x86_64.ld -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/.package_note-ruby-0.15.2-157.fc36.x86_64.ld -m64 -lruby -lm -lc /usr/bin/ld: cannot open linker script file /builddir/build/BUILD/.package_note-ruby-0.15.2-157.fc36.x86_64.ld: No such file or directory ~~~
This commit is contained in:
parent
a28556f684
commit
a0bcb33eaa
@ -22,7 +22,7 @@
|
||||
%endif
|
||||
|
||||
|
||||
%global release 157
|
||||
%global release 158
|
||||
%{!?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
|
||||
@ -80,6 +80,10 @@
|
||||
%bcond_without hardening_test
|
||||
%endif
|
||||
|
||||
# The additional linker flags break binary rubygem- packages.
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2043092
|
||||
%undefine _package_note_flags
|
||||
|
||||
Summary: An interpreter of object-oriented scripting language
|
||||
Name: ruby
|
||||
Version: %{ruby_version}
|
||||
@ -1465,6 +1469,9 @@ mv test/fiddle/test_import.rb{,.disable}
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jan 20 2022 Vít Ondruch <vondruch@redhat.com> - 3.0.3-158
|
||||
- Disable package notes to prevent rubygem- build breakage.
|
||||
|
||||
* Thu Jan 20 2022 Vít Ondruch <vondruch@redhat.com> - 3.0.3-157
|
||||
- Fix segfault in `TestArray#test_sample` on s390x.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user