From 8baf02070612c789ee4666f13e839a990e8bf82f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 29 Mar 2022 13:19:59 -0400 Subject: [PATCH] import nodejs-nodemon-2.0.15-1.module+el8.5.0+13548+45d748af --- .gitignore | 2 +- .nodejs-nodemon.metadata | 2 +- SPECS/nodejs-nodemon.spec | 31 +++++++++++++++++-------------- 3 files changed, 19 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index dcd2104..b1f370e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/nodemon-v2.0.7-bundled.tar.gz +SOURCES/nodemon-v2.0.15-bundled.tar.gz diff --git a/.nodejs-nodemon.metadata b/.nodejs-nodemon.metadata index 8c96faa..8acf592 100644 --- a/.nodejs-nodemon.metadata +++ b/.nodejs-nodemon.metadata @@ -1 +1 @@ -5b74404abb5aaa21aa372ace8c3705361299fc12 SOURCES/nodemon-v2.0.7-bundled.tar.gz +0c0d18598b43f7768e1531429a0d63014d322f50 SOURCES/nodemon-v2.0.15-bundled.tar.gz diff --git a/SPECS/nodejs-nodemon.spec b/SPECS/nodejs-nodemon.spec index a22e071..d6c70c4 100644 --- a/SPECS/nodejs-nodemon.spec +++ b/SPECS/nodejs-nodemon.spec @@ -5,11 +5,11 @@ %global enable_tests 0 Name: nodejs-%{npm_name} -Version: 2.0.7 +Version: 2.0.15 Release: 1%{?dist} Summary: Simple monitor script for use during development of a node.js app License: MIT -URL: https://github.com/remy/nodemon +URL: https://www.npmjs.com/package/nodemon Source0: %{npm_name}-v%{version}-bundled.tar.gz BuildRequires: nodejs-devel @@ -36,18 +36,18 @@ Simple monitor script for use during development of a node.js app. For use during development of a node.js based application. -nodemon will watch the files in the directory in which nodemon -was started, and if any files change, nodemon will automatically +nodemon will watch the files in the directory in which nodemon +was started, and if any files change, nodemon will automatically restart your node application. -nodemon does not require any changes to your code or method of -development. nodemon simply wraps your node application and keeps -an eye on any files that have changed. Remember that nodemon is a -replacement wrapper for node, think of it as replacing the word "node" +nodemon does not require any changes to your code or method of +development. nodemon simply wraps your node application and keeps +an eye on any files that have changed. Remember that nodemon is a +replacement wrapper for node, think of it as replacing the word "node" on the command line when you run your script. %prep -%setup -q -n %{npm_name}-%{version} +%setup -q -n package %build @@ -56,14 +56,11 @@ on the command line when you run your script. %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} -cp -pr doc bin lib package.json website node_modules %{buildroot}%{nodejs_sitelib}/%{npm_name} +cp -pr doc bin lib package.json node_modules %{buildroot}%{nodejs_sitelib}/%{npm_name} mkdir -p %{buildroot}%{_bindir} ln -sf %{nodejs_sitelib}/%{npm_name}/bin/nodemon.js %{buildroot}%{_bindir}/nodemon - -#%%nodejs_symlink_deps - %if 0%{?enable_tests} %check %nodejs_symlink_deps --check @@ -71,11 +68,17 @@ npm run test %endif %files -%doc CODE_OF_CONDUCT.md doc faq.md README.md +%doc doc README.md %{nodejs_sitelib}/%{npm_name} %{_bindir}/nodemon %changelog +* Tue Nov 30 2021 Zuzana Svetlikova - 2.0.15-1 +- Resolves: RHBZ#2027630 +- Resolves CVE-2020-28469 +- Rebase to newest version +- Change source to npmjs.com + * Tue May 11 2021 Zuzana Svetlikova - 2.0.7-1 - Resolves: RHBZ#1953991 - Update to 2.0.7 to resolve CVE-2020-28469