Regenerete sources.
Switching to sourcing dependencies from remys fork to npmjs. This allows us to regenerete dependencies and fix CVEs with simple source replacement. Resolves: RHEL-208652
This commit is contained in:
parent
bb6092a2cc
commit
2cb7d235c8
@ -8,8 +8,8 @@ Name: nodejs-%{npm_name}
|
||||
Version: 3.1.14
|
||||
Release: %autorelease
|
||||
Summary: Simple monitor script for use during development of a node.js app
|
||||
License: ISC AND MIT
|
||||
URL: https://github.com/remy/nodemon
|
||||
License: MIT
|
||||
URL: https://www.npmjs.com/package/nodemon
|
||||
Source0: %{npm_name}-v%{version}-bundled.tar.gz
|
||||
|
||||
BuildRequires: nodejs-devel
|
||||
@ -40,7 +40,7 @@ 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}
|
||||
%autosetup -p1 -n package
|
||||
|
||||
%build
|
||||
|
||||
@ -49,7 +49,7 @@ 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
|
||||
@ -64,7 +64,7 @@ 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
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
version=$(rpm -q --specfile --qf='%{version}\n' nodejs-nodemon.spec | head -n1)
|
||||
wget https://github.com/remy/nodemon/archive/v$version.tar.gz
|
||||
tar -zxf v$version.tar.gz
|
||||
cd nodemon-$version
|
||||
npm install --production && cd .. && tar -zcf nodemon-v$version-bundled.tar.gz nodemon-$version
|
||||
wget https://registry.npmjs.org/nodemon/-/nodemon-$version.tgz
|
||||
tar -zxf nodemon-$version.tgz
|
||||
cd package
|
||||
npm install --production && rm -rf Dockerfile && cd .. && tar -zcf nodemon-v$version-bundled.tar.gz package
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (nodemon-v3.1.14-bundled.tar.gz) = a903545a8bb4b99f0c0da15b065b865555a3cc704e603bf80371aab36b6ebfb8d288772747e80292b90b47b83d65c5289f4148a0572c1677bd7b02b2bcc05323
|
||||
SHA512 (nodemon-v3.1.14-bundled.tar.gz) = b4e57df16568e9f5338d4e52efef358effa8f520d056004d4d5bea2ef9094cb064789a691096b6585eb7c260a6d3f2fd5e2227610f345ccf856daccfb0aa594d
|
||||
|
||||
Loading…
Reference in New Issue
Block a user