]> git.pld-linux.org Git - packages/npm.git/commitdiff
switch to python3 in shebangs; rel 2 master auto/th/npm-6.14.15-2
authorJan Palus <atler@pld-linux.org>
Sun, 14 Nov 2021 18:37:47 +0000 (19:37 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 14 Nov 2021 18:37:47 +0000 (19:37 +0100)
npm.spec

index 130ef4561d13d10d51fb0e23f29df670df161dd3..bc3f369b4f1c9f394cf521c0a000b161ab54c6c0 100644 (file)
--- a/npm.spec
+++ b/npm.spec
@@ -10,7 +10,7 @@ Summary:      A package manager for node.js
 Summary(pl.UTF-8):     Zarządca pakietów dla node.js
 Name:          npm
 Version:       6.14.15
-Release:       1
+Release:       2
 License:       Artistic v2.0
 Group:         Development/Tools
 Source0:       https://registry.npmjs.org/npm/-/%{name}-%{version}.tgz
@@ -61,7 +61,7 @@ bashowe uzupełnianie parametrów dla poleceń NPM.
 grep -rl '#!.*env \(node\|python\|sh\|bash\)' . | xargs %{__sed} -i -e '1{
        s,^#!.*bin/env bash,#!%{__bash},
        s,^#!.*bin/env node,#!/usr/bin/node,
-       s,^#!.*bin/env python,#!%{__python},
+       s,^#!.*bin/env python3\?,#!%{__python3},
        s,^#!.*bin/env sh,#!%{__sh},
 }'
 
This page took 0.095063 seconds and 4 git commands to generate.