Re: Virtual provides and/or conflicts for alternate sets of packages

2025-07-23 Thread Miro Hrončok
On 23. 07. 25 13:48, Jan Stanek wrote: On Wed, Jul 23, 2025 at 1:45 PM Miro Hrončok wrote: I'd go with alternative-for(nodejs-bin). There's even code in dnf that will tell you the options if you try to install nodejs-bin (unless the metapackage is called that). You can try it out in RHEL 8. Bu

Re: Virtual provides and/or conflicts for alternate sets of packages

2025-07-23 Thread Jan Stanek
On Wed, Jul 23, 2025 at 1:45 PM Miro Hrončok wrote: > I'd go with alternative-for(nodejs-bin). There's even code in dnf that will > tell you the options if you try to install nodejs-bin (unless the metapackage > is called that). > > You can try it out in RHEL 8. But the code made it to dnf5 as wel

Re: Virtual provides and/or conflicts for alternate sets of packages

2025-07-23 Thread Miro Hrončok
On 23. 07. 25 13:17, Jan Stanek wrote: Hello Fedora! ... ``` %package bin Provides: alternate(nodejs-bin) = %{node_full_version} Conflicts: alternate(nodejs-bin) ``` I did not find anything usable in the packaging guidelines (since they still recommend using update-alternatives for this sort of

Virtual provides and/or conflicts for alternate sets of packages

2025-07-23 Thread Jan Stanek
Hello Fedora! As part of experimenting with providing alternative binary packages for NodeJS (see the Change proposal [1], and especially the feedback section on why we are trying to do it this way), I have run into an issue on how to specify that the various `-bin` packages will conflict with eac