Sed out an invalid mode 'rU' from a Python file in vendored gyp
This commit is contained in:
parent
72ce8a7316
commit
7d15a0036e
1 changed files with 4 additions and 0 deletions
|
|
@ -88,6 +88,10 @@ cp -a %{_includedir}/node node-v%{nodejs_version}/include
|
|||
tar czf node-v%{nodejs_version}-headers.tar.gz node-v%{nodejs_version}
|
||||
npm config set tarball $PWD/node-v%{nodejs_version}-headers.tar.gz
|
||||
|
||||
# ValueError: invalid mode: 'rU' while trying to load binding.gyp
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2099065
|
||||
sed 's/"rU"/"r"/' -i .package-cache/v6/npm-node-gyp-7.1.2-*-integrity/node_modules/node-gyp/gyp/pylib/gyp/input.py
|
||||
|
||||
%build
|
||||
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
|
||||
export YARN_CACHE_FOLDER="$PWD/.package-cache"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue