Hello community, here is the log from the commit of package nodejs-common for openSUSE:Factory checked in at 2017-08-13 14:56:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs-common (Old) and /work/SRC/openSUSE:Factory/.nodejs-common.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-common" Sun Aug 13 14:56:45 2017 rev:2 rq:515745 version:2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs-common/nodejs-common.changes 2017-07-19 12:22:14.573912704 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-common.new/nodejs-common.changes 2017-08-13 14:56:46.325149923 +0200 @@ -1,0 +2,8 @@ +Wed Aug 2 14:29:04 UTC 2017 - [email protected] + +- NodeJS 8.2.0 adds support for `npx` binary. Add conditional + support to our wrapper +- Print a helpful message if wrapper cannot find target executable +- Wrapper only executes from /usr/bin and not PATH + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs-common.spec ++++++ --- /var/tmp/diff_new_pack.8vNMll/_old 2017-08-13 14:56:47.524981550 +0200 +++ /var/tmp/diff_new_pack.8vNMll/_new 2017-08-13 14:56:47.536979866 +0200 @@ -1,7 +1,7 @@ # # spec file for package nodejs-common # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + ########################################################### # # WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! @@ -25,12 +26,12 @@ ########################################################### Name: nodejs-common -Version: 1.0 +Version: 2.0 Release: 0 -License: MIT Summary: Common files for the NodeJS ecosystem -Url: https://github.com/AdamMajer/nodejs-packaging +License: MIT Group: Development/Languages/NodeJS +Url: https://github.com/AdamMajer/nodejs-packaging Source1: node Requires: nodejs Conflicts: nodejs4 < 4.8.4 @@ -50,10 +51,12 @@ %install install -D -m 0755 %{S:1} %{buildroot}%{_bindir}/node ln -s node %{buildroot}%{_bindir}/npm +ln -s node %{buildroot}%{_bindir}/npx %files %defattr(-,root,root) %{_bindir}/node %{_bindir}/npm +%{_bindir}/npx %changelog ++++++ node ++++++ --- /var/tmp/diff_new_pack.8vNMll/_old 2017-08-13 14:56:47.608969764 +0200 +++ /var/tmp/diff_new_pack.8vNMll/_new 2017-08-13 14:56:47.608969764 +0200 @@ -3,5 +3,9 @@ PROG=$(basename $0) PROG_VERSION=${NODE_VERSION:--default} -exec ${PROG}${PROG_VERSION} "$@" +if [ ! -x /usr/bin/${PROG}${PROG_VERSION} ]; then + echo "${PROG}${PROG_VERSION} is unavailable." + exit 127 +fi +exec /usr/bin/${PROG}${PROG_VERSION} "$@"
