From 7b57101668d9b4b1b389487d402c3130968aae69 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 5 Nov 2025 08:05:48 +0000 Subject: [PATCH] Import from CS git --- .gitignore | 2 +- .nodejs-nodemon.metadata | 2 +- SPECS/nodejs-nodemon.spec | 63 ++++++++++----------------------------- 3 files changed, 18 insertions(+), 49 deletions(-) diff --git a/.gitignore b/.gitignore index 0e81494..41959dc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/nodemon-v2.0.3-bundled.tar.gz +SOURCES/nodemon-v3.0.3-bundled.tar.gz diff --git a/.nodejs-nodemon.metadata b/.nodejs-nodemon.metadata index 714f000..d94dd19 100644 --- a/.nodejs-nodemon.metadata +++ b/.nodejs-nodemon.metadata @@ -1 +1 @@ -a515df94af26b438ffbf4d914259f16a03cc7c15 SOURCES/nodemon-v2.0.3-bundled.tar.gz +7f7e27e649a19ae67cb90028f09ed451488283e3 SOURCES/nodemon-v3.0.3-bundled.tar.gz diff --git a/SPECS/nodejs-nodemon.spec b/SPECS/nodejs-nodemon.spec index 9db4d6d..5b36db4 100644 --- a/SPECS/nodejs-nodemon.spec +++ b/SPECS/nodejs-nodemon.spec @@ -1,14 +1,14 @@ %{?nodejs_find_provides_and_requires} %global npm_name nodemon -# Disable until dependencies are met +# Disable until dependencies are bundled %global enable_tests 0 Name: nodejs-%{npm_name} -Version: 2.0.3 +Version: 3.0.3 Release: 1%{?dist} Summary: Simple monitor script for use during development of a node.js app -License: MIT +License: ISC AND MIT URL: https://github.com/remy/nodemon Source0: %{npm_name}-v%{version}-bundled.tar.gz @@ -16,34 +16,27 @@ BuildRequires: nodejs-devel BuildRequires: nodejs-packaging BuildRequires: npm +# Let the nodemon work with any nodejs version available +%global __requires_exclude ^\/usr\/bin\/node +Requires: nodejs(engine) +Suggests: nodejs + ExclusiveArch: %{nodejs_arches} noarch BuildArch: noarch -%if 0%{?enable_tests} -BuildRequires: npm(async) -BuildRequires: npm(coffee-script) -BuildRequires: npm(husky) -BuildRequires: npm(istanbul) -BuildRequires: npm(jscs) -BuildRequires: npm(mocha) -BuildRequires: npm(proxyquire) -BuildRequires: npm(semantic-release) -BuildRequires: npm(should) -%endif - %description 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 @@ -76,29 +69,5 @@ npm run test %{_bindir}/nodemon %changelog -* Wed May 06 2020 Zuzana Svetlikova - 2.0.3-1 -- Resolves: RHBZ#1920692, RHBZ#1804236, RHBZ#1803247 -- Rebase to 2.0.3 - -* Mon Aug 13 2018 Zuzana Svetlikova - 1.18.3-1 -- Resolves: #1615413 -- Updated -- bundled - -* Mon Jul 03 2017 Zuzana Svetlikova - 1.11.0-2 -- rh-nodejs8 rebuild - -* Mon Oct 31 2016 Zuzana Svetlikova - 1.11.0-1 -- Updated with script - -* Sun Feb 14 2016 Zuzana Svetlikova - 1.8.1-6 -- rebuilt - -* Wed Jan 06 2016 Tomas Hrcka - 1.8.1-5 -- Enable scl macros - -* Thu Dec 17 2015 Troy Dawson - 1.8.1-2 -- Fix dependencies - -* Wed Dec 16 2015 Troy Dawson - 1.8.1-1 -- Initial package +* Fri Sep 05 2025 Jan Staněk - 3.0.3-1 +- Initial import into nodejs:24 module