>> If we did this, wouldn't it make it very difficult to use
tools like
>> mock on RHEL / CentOS 7 to build for Fedora 3x? Or does RHEL 7 RPM
>> support zstd?
> We're pretty much screwed here. Also, since RHEL 8's rpm
package does
> not have zstd support compiled in, it too cannot handle the RPMs.
Hence it needs to be configurable. Fedora EPEL RPMs need to be built
with xz. Everything else that's expected to be consumed by Fedora 29
and higher, can use either zstd or xz. I'd expect RHEL built packages
intended for Fedora would use xz, and Fedora's RPM would support that
just fine.
Fedora should provide a means to convert from .rpm-with-compression-A
to .rpm-with-compression-B. Already there is 'alien' which converts
between .rpm, .deb, and .tgz.