On Wed, Mar 15, 2023 at 1:16 PM Jerry James loganjerry@gmail.com wrote:
On Wed, Mar 15, 2023 at 11:09 AM Jerry James loganjerry@gmail.com wrote:
I see the same with a couple of my packages. A look at https://src.fedoraproject.org/rpms/nodejs suggests that we shouldn't be using BuildRequires: nodejs-devel anymore, but rather nodejsXX-devel for an appropriate value of XX. It looks like "20" is the only currently appropriate value for XX. I am unsure how that is supposed to work going forward.
Unfortunately, that doesn't fix the 2 cases I am looking at, because they use yarnpkg, and installing yarnpkg pulls nodejs and nodejs-libs into the buildroot, not nodejs20 and nodejs20-libs.
nodejs20-* should definitely not be getting pulled in. I probably have a bug there (something I missed when forking it from nodejs18)
I suspect that's the root cause: your existing nodejs-devel BR should continue to work. You don't need to specify `BuildRequires: nodejsXX-devel` unless you need to guarantee a specific version which isn't (necessarily) the default one for that release.
Please open a BZ to track this problem; I'll start looking into it. Sorry for the disruption!