Hi Dominik,

On Wed, Dec 2, 2020 at 2:02 PM Dominik 'Rathann' Mierzejewski <dominik@greysector.net> wrote:

Provides: xorg-x11-server-Xwayland = %{version}-%{release}
Obsoletes: xorg-x11-server-Xwayland < first-version-built-from-new-upstream

https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages

The package in the COPR [1] does:

Provides:  xorg-x11-server-Xwayland = %{version}-%{release}
Provides:  xorg-x11-server-Xwayland%{?_isa}
Obsoletes: xorg-x11-server-Xwayland < %{version}-%{release}

For some reason, dnf would complain when upgrading from the original xorg-x11-server-Xwayland otherwise.

But anyhow, the original question from Vít was not really how to achieve it, but rather what name we want for that package.

Cheers
Olivier

[1] https://copr.fedorainfracloud.org/coprs/ofourdan/Xwayland/