> So it's explicitly trying to get rid of the metapackage.

note that it is trying to get rid of nodejs versions only prior to the
current one at the time of building. We even went ahead and set epoch of
metapackage to 3 to make sure it wins this negotiation.

On Thu, Dec 4, 2025 at 1:12 PM Florian Weimer <[email protected]> wrote:

> * Jan Stanek:
>
> > What I would expect: `dnf install nodejs` will select nodejs metapackage
> > for install, which pulls nodejs22 as a dependency.
> >
> > What happens: `dnf install nodejs` installs nodejs22 directly.
>
> The spec file uses this:
>
> # Metapackage WIP: obsolete packages with the unversioned names;
> # we do not want a default stream generated from one of the versioned
> streams.
> # The default version is set to the last version shipped in default stream
> %define obsolete_default_stream_package() %{expand:\
> Obsoletes: nodejs%{?1:-%{1}} < %{?2}%{!?2:%{nodejs_envr}}
> }
>
>
> https://copr-dist-git.fedorainfracloud.org/packages/jstanek/nodejs22-bin/nodejs22.git/tree/nodejs22.spec#n232
>
> So it's explicitly trying to get rid of the metapackage.
>
> Thanks,
> Florian
>
> --
> _______________________________________________
> devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to