mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-25 01:45:35 +00:00
Really, finally fix npm dep executable permissions
Resolves: rhbz#1630937 Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
a52c593fa8
commit
4614b5fef1
1 changed files with 7 additions and 3 deletions
10
nodejs.spec
10
nodejs.spec
|
@ -24,7 +24,7 @@
|
||||||
%global nodejs_patch 0
|
%global nodejs_patch 0
|
||||||
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
|
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
|
||||||
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
|
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
|
||||||
%global nodejs_release 1
|
%global nodejs_release 2
|
||||||
|
|
||||||
# == Bundled Dependency Versions ==
|
# == Bundled Dependency Versions ==
|
||||||
# v8 - from deps/v8/include/v8-version.h
|
# 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.
|
# unnecessary automatic dependencies to be added. Make them not executable.
|
||||||
# Skip the npm bin directory or the npm binary will not work.
|
# Skip the npm bin directory or the npm binary will not work.
|
||||||
find %{buildroot}%{_prefix}/lib/node_modules/npm \
|
find %{buildroot}%{_prefix}/lib/node_modules/npm \
|
||||||
-path bin -o -prune \
|
-not -path %{buildroot}%{_prefix}/lib/node_modules/npm/bin/* \
|
||||||
-type f -executable -exec chmod -x {} \;
|
-executable -type f \
|
||||||
|
-exec chmod -x {} \;
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
@ -492,6 +493,9 @@ end
|
||||||
%{_pkgdocdir}/npm/doc
|
%{_pkgdocdir}/npm/doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 19 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:10.10.0-2
|
||||||
|
- Really, finally fix npm dep executable permissions
|
||||||
|
|
||||||
* Tue Sep 11 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:10.10.0-1
|
* Tue Sep 11 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:10.10.0-1
|
||||||
- Update to 10.10.0
|
- Update to 10.10.0
|
||||||
- https://nodejs.org/en/blog/release/v10.10.0/
|
- https://nodejs.org/en/blog/release/v10.10.0/
|
||||||
|
|
Loading…
Reference in a new issue