The previous commit added Obsolete/Provides entries to ensure an easy
transition from qemu-virtiofsd to virtiofsd when users update to Fedora
39 from previous versions. We don't want this entries in previous
versions, as it may trigger an unnecessary switch between those
packages.
To avoid having divergent branches between rawhide and older versions,
put them behind a "if 0%{?fedora} > 38" conditional.
Suggested-by: Adam Williamson <awilliam@redhat.com>
Signed-off-by: Sergio Lopez <slp@redhat.com>
The qemu-virtiofsd package was deleted in 8.0.0, so to get dnf to
install virtiofsd during upgrade we need an Obsoletes line. If
something had a "Requires: qemu-virtiofsd" line instead of the
more recommended "Requires: vhostuser-backend(fs)", the fake
Provides will satisfy it.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>