From 4614b5fef198db8bf25beb8347db8c3133d31249 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 19 Sep 2018 11:35:24 -0400 Subject: [PATCH] Really, finally fix npm dep executable permissions Resolves: rhbz#1630937 Signed-off-by: Stephen Gallagher --- nodejs.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nodejs.spec b/nodejs.spec index c5b09a5..7a0fa6f 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -24,7 +24,7 @@ %global nodejs_patch 0 %global nodejs_abi %{nodejs_major}.%{nodejs_minor} %global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch} -%global nodejs_release 1 +%global nodejs_release 2 # == Bundled Dependency Versions == # v8 - from deps/v8/include/v8-version.h @@ -407,8 +407,9 @@ rm -f %{buildroot}/%{_defaultdocdir}/node/lldb_commands.py \ # unnecessary automatic dependencies to be added. Make them not executable. # Skip the npm bin directory or the npm binary will not work. find %{buildroot}%{_prefix}/lib/node_modules/npm \ - -path bin -o -prune \ - -type f -executable -exec chmod -x {} \; + -not -path %{buildroot}%{_prefix}/lib/node_modules/npm/bin/* \ + -executable -type f \ + -exec chmod -x {} \; %check @@ -492,6 +493,9 @@ end %{_pkgdocdir}/npm/doc %changelog +* Wed Sep 19 2018 Stephen Gallagher - 1:10.10.0-2 +- Really, finally fix npm dep executable permissions + * Tue Sep 11 2018 Stephen Gallagher - 1:10.10.0-1 - Update to 10.10.0 - https://nodejs.org/en/blog/release/v10.10.0/