Dne 12. 11. 22 v 21:04 Jun Aruga (he / him) napsal(a):
Hello,
I found the gem install <native extension gem> fails on the Ruby on the rawhide.
I reported it to the package-notes RPM.
https://bugzilla.redhat.com/show_bug.cgi?id=2142119
https://bugzilla.redhat.com/show_bug.cgi?id=2142119#c1
Maybe a temporary workaround we can do soon is to set the macro below
in the ruby.spec.
```
%undefine _package_note_file
```
IOW revert this revert:
https://src.fedoraproject.org/rpms/ruby/c/588a4ae9f02928d7bedbcf46a739d36...
Not sure if I really tested the installation of the native gems prior
enabling the package notes. Probably not, because I thought that it will
be similar to other `-specs=` directives, but this is much worse. Oh my,
sorry 🙈
And this is now also in F37:
https://src.fedoraproject.org/rpms/ruby/c/588a4ae9f02928d7bedbcf46a739d36...
Although this was not build yet. I will sort it out.
Vít
But essentially we need to do something in the `ruby.spec` not to
expose the redhat-rpm-config RPM or Red Hat specific RPMs such as
package-notes RPM. Possible ways are below.
A. Modify rbconfig.rb by such as `sed` command.
B. Add another logic to create the `reconfig.rb` by `make rbconfig.rb`
with extension flags, and ship it in the Ruby RPM.
C. Update the configure script with proper arguments or command options.
https://src.fedoraproject.org/rpms/ruby/pull-request/117
Feel free to take this task.