Is there a way to set a /etc/hosts setting below or an equivalent one
in a RPM spec file? The rubygem-mysq2 RPM package's unit test needs
the setting to run SSL tests in the %check process of the
rubygem-mysql2.spec file.
```
$ cat /etc/hosts
...
127.0.0.1
mysql2gem.example.com
```
As a reference, here are the upstream mysql2 project's settings.
https://github.com/brianmario/mysql2/blob/7f6f33a6e0bd652d5e7087edb6e5d00...
https://github.com/brianmario/mysql2/blob/7f6f33a6e0bd652d5e7087edb6e5d00...
Related PR on Fedora:
https://src.fedoraproject.org/rpms/rubygem-mysql2/pull-request/14
Thanks for your help!
--
Jun | He - Him | Timezone: UTC+1 or 2, Czech Republic
See <
https://www.worldtimebuddy.com/czech-republic-prague-to-utc> for
the timezone.