On Wed, Dec 2, 2020 at 8:14 AM Olivier Fourdan <ofourdan@xxxxxxxxxx> wrote: > > Hi Dominik, > > On Wed, Dec 2, 2020 at 2:02 PM Dominik 'Rathann' Mierzejewski <dominik@xxxxxxxxxxxxxx> 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. > I think that unless it's actually being split out from upstream sources from the xorg-server repo, it would just be easier to call it xorg-x11-server-Xwayland. But if you're dead set on renaming it, you need to do it like so: Obsoletes: xorg-x11-server-Xwayland < %{version}-%{release} Provides: xorg-x11-server-Xwayland = %{version}-%{release} Provides: xorg-x11-server-Xwayland%{?_isa} = %{version}-%{release} The archful Provides needs to be versioned too. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx