Project

General

Profile

Actions

Bug #27201

open

Foreman RPM Build failing on @novnc/novnc

Added by Max Bender almost 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
RPMs
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I am attempting to port Foreman 1.22 to the Mainframe (IBM Z s390x) and am having to rebuild a whole bunch of ruby and nodejs RPM packages. For the most part it is going ok but am running into an issue with the @novnc/novnc package.

Using "@" w/ NPM defines scope and the ability to have private registries. As far as RPM is concerned however the package name is "nodejs-novnc" making the dependency fail when running a "rpmbuild --rebuild foreman....."

I have downloaded, recompiled and installed the nodejs-novnc package provided via Foreman 1.22 Source found https://yum.theforeman.org/releases/1.22/el7/source/ : https://gist.github.com/bendermIBM/803dfc06282493c91f4ef59d17c98af4

After installing I try and find what provides it

⚡ root@  ~/rpmbuild/SPECS  rpm -q --whatprovides "npm(@novnc/novnc)" 
no package provides npm(@novnc/novnc)

but something does provide nodejs-novnc

⚡ root@  ~/rpmbuild/SPECS  rpm -q --whatprovides "nodejs-novnc"   
nodejs-novnc-1.0.0-1.fc30.noarch

And when trying to compile formean into an rpm:

rpmbuild -bb foreman.spec
error: Failed build dependencies:
npm(@novnc/novnc) >= 1.0.0 is needed by foreman-1.22.0-1.fc30.noarch
npm(@novnc/novnc) < 2.0.0 is needed by foreman-1.22.0-1.fc30.noarch

So is this @novnc package a special compiled version of novnc from foreman that isn't available via the source repository?

Actions

Also available in: Atom PDF